Class: TencentCloud::Ckafka::V20190819::TopicFlowRankingResult

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190819/models.rb

Overview

topic 生产消息数据,消费者数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicflow = nil, consumespeed = nil, topicmessageheap = nil, brokerip = nil, brokertopicdata = nil, brokertopicflowdata = nil) ⇒ TopicFlowRankingResult

Returns a new instance of TopicFlowRankingResult.



11870
11871
11872
11873
11874
11875
11876
11877
# File 'lib/v20190819/models.rb', line 11870

def initialize(topicflow=nil, consumespeed=nil, topicmessageheap=nil, brokerip=nil, brokertopicdata=nil, brokertopicflowdata=nil)
  @TopicFlow = topicflow
  @ConsumeSpeed = consumespeed
  @TopicMessageHeap = topicmessageheap
  @BrokerIp = brokerip
  @BrokerTopicData = brokertopicdata
  @BrokerTopicFlowData = brokertopicflowdata
end

Instance Attribute Details

#BrokerIpObject

Parameters:

  • TopicFlow:

    Topic 流量数组

  • ConsumeSpeed:

    消费者组消费速度排行速度

  • TopicMessageHeap:

    Topic 消息堆积/占用磁盘排行

  • BrokerIp:

    Broker Ip 列表

  • BrokerTopicData:

    单个broker 节点 Topic占用的数据大小

  • BrokerTopicFlowData:

    单个Broker 节点Topic 流量的大小(单位MB)



11868
11869
11870
# File 'lib/v20190819/models.rb', line 11868

def BrokerIp
  @BrokerIp
end

#BrokerTopicDataObject

Parameters:

  • TopicFlow:

    Topic 流量数组

  • ConsumeSpeed:

    消费者组消费速度排行速度

  • TopicMessageHeap:

    Topic 消息堆积/占用磁盘排行

  • BrokerIp:

    Broker Ip 列表

  • BrokerTopicData:

    单个broker 节点 Topic占用的数据大小

  • BrokerTopicFlowData:

    单个Broker 节点Topic 流量的大小(单位MB)



11868
11869
11870
# File 'lib/v20190819/models.rb', line 11868

def BrokerTopicData
  @BrokerTopicData
end

#BrokerTopicFlowDataObject

Parameters:

  • TopicFlow:

    Topic 流量数组

  • ConsumeSpeed:

    消费者组消费速度排行速度

  • TopicMessageHeap:

    Topic 消息堆积/占用磁盘排行

  • BrokerIp:

    Broker Ip 列表

  • BrokerTopicData:

    单个broker 节点 Topic占用的数据大小

  • BrokerTopicFlowData:

    单个Broker 节点Topic 流量的大小(单位MB)



11868
11869
11870
# File 'lib/v20190819/models.rb', line 11868

def BrokerTopicFlowData
  @BrokerTopicFlowData
end

#ConsumeSpeedObject

Parameters:

  • TopicFlow:

    Topic 流量数组

  • ConsumeSpeed:

    消费者组消费速度排行速度

  • TopicMessageHeap:

    Topic 消息堆积/占用磁盘排行

  • BrokerIp:

    Broker Ip 列表

  • BrokerTopicData:

    单个broker 节点 Topic占用的数据大小

  • BrokerTopicFlowData:

    单个Broker 节点Topic 流量的大小(单位MB)



11868
11869
11870
# File 'lib/v20190819/models.rb', line 11868

def ConsumeSpeed
  @ConsumeSpeed
end

#TopicFlowObject

Parameters:

  • TopicFlow:

    Topic 流量数组

  • ConsumeSpeed:

    消费者组消费速度排行速度

  • TopicMessageHeap:

    Topic 消息堆积/占用磁盘排行

  • BrokerIp:

    Broker Ip 列表

  • BrokerTopicData:

    单个broker 节点 Topic占用的数据大小

  • BrokerTopicFlowData:

    单个Broker 节点Topic 流量的大小(单位MB)



11868
11869
11870
# File 'lib/v20190819/models.rb', line 11868

def TopicFlow
  @TopicFlow
end

#TopicMessageHeapObject

Parameters:

  • TopicFlow:

    Topic 流量数组

  • ConsumeSpeed:

    消费者组消费速度排行速度

  • TopicMessageHeap:

    Topic 消息堆积/占用磁盘排行

  • BrokerIp:

    Broker Ip 列表

  • BrokerTopicData:

    单个broker 节点 Topic占用的数据大小

  • BrokerTopicFlowData:

    单个Broker 节点Topic 流量的大小(单位MB)



11868
11869
11870
# File 'lib/v20190819/models.rb', line 11868

def TopicMessageHeap
  @TopicMessageHeap
end

Instance Method Details

#deserialize(params) ⇒ Object



11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
# File 'lib/v20190819/models.rb', line 11879

def deserialize(params)
  unless params['TopicFlow'].nil?
    @TopicFlow = []
    params['TopicFlow'].each do |i|
      topicflowranking_tmp = TopicFlowRanking.new
      topicflowranking_tmp.deserialize(i)
      @TopicFlow << topicflowranking_tmp
    end
  end
  unless params['ConsumeSpeed'].nil?
    @ConsumeSpeed = []
    params['ConsumeSpeed'].each do |i|
      consumergroupspeed_tmp = ConsumerGroupSpeed.new
      consumergroupspeed_tmp.deserialize(i)
      @ConsumeSpeed << consumergroupspeed_tmp
    end
  end
  unless params['TopicMessageHeap'].nil?
    @TopicMessageHeap = []
    params['TopicMessageHeap'].each do |i|
      topicmessageheapranking_tmp = TopicMessageHeapRanking.new
      topicmessageheapranking_tmp.deserialize(i)
      @TopicMessageHeap << topicmessageheapranking_tmp
    end
  end
  @BrokerIp = params['BrokerIp']
  unless params['BrokerTopicData'].nil?
    @BrokerTopicData = []
    params['BrokerTopicData'].each do |i|
      brokertopicdata_tmp = BrokerTopicData.new
      brokertopicdata_tmp.deserialize(i)
      @BrokerTopicData << brokertopicdata_tmp
    end
  end
  unless params['BrokerTopicFlowData'].nil?
    @BrokerTopicFlowData = []
    params['BrokerTopicFlowData'].each do |i|
      brokertopicflowdata_tmp = BrokerTopicFlowData.new
      brokertopicflowdata_tmp.deserialize(i)
      @BrokerTopicFlowData << brokertopicflowdata_tmp
    end
  end
end