tencentcloud-sdk-tdmq 3.0.727 → 3.0.728
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +108 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94350c24ec32f002fc83958bda931c7c12213dbf
|
4
|
+
data.tar.gz: af8b4f70ef8ae90f3c085d57eff058afca675491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d70ba1ce37a19831c89fc4fcc90f03765063c1aa052613ac787826b965d927299a62f82fae48d9c2c4dd044e002272a1e615532b4092b26780fb445eb5ee9fe
|
7
|
+
data.tar.gz: 60a845395d573210ca016738926e4b8197c92c02bd20fea31bef134b9e725586d489582e60990aedb7ceb8ab1b650e7aaab5c38270a3b6af4dd3df2bac6dfd5a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.728
|
data/lib/v20200217/client.rb
CHANGED
@@ -1783,6 +1783,30 @@ module TencentCloud
|
|
1783
1783
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1784
1784
|
end
|
1785
1785
|
|
1786
|
+
# 获取在线消费端详情
|
1787
|
+
|
1788
|
+
# @param request: Request instance for DescribeRocketMQConsumerConnectionDetail.
|
1789
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailRequest`
|
1790
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailResponse`
|
1791
|
+
def DescribeRocketMQConsumerConnectionDetail(request)
|
1792
|
+
body = send_request('DescribeRocketMQConsumerConnectionDetail', request.serialize)
|
1793
|
+
response = JSON.parse(body)
|
1794
|
+
if response['Response'].key?('Error') == false
|
1795
|
+
model = DescribeRocketMQConsumerConnectionDetailResponse.new
|
1796
|
+
model.deserialize(response['Response'])
|
1797
|
+
model
|
1798
|
+
else
|
1799
|
+
code = response['Response']['Error']['Code']
|
1800
|
+
message = response['Response']['Error']['Message']
|
1801
|
+
reqid = response['Response']['RequestId']
|
1802
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1803
|
+
end
|
1804
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1805
|
+
raise e
|
1806
|
+
rescue StandardError => e
|
1807
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1808
|
+
end
|
1809
|
+
|
1786
1810
|
# 获取指定消费组下当前客户端的连接情况
|
1787
1811
|
|
1788
1812
|
# @param request: Request instance for DescribeRocketMQConsumerConnections.
|
data/lib/v20200217/models.rb
CHANGED
@@ -5270,6 +5270,77 @@ module TencentCloud
|
|
5270
5270
|
end
|
5271
5271
|
end
|
5272
5272
|
|
5273
|
+
# DescribeRocketMQConsumerConnectionDetail请求参数结构体
|
5274
|
+
class DescribeRocketMQConsumerConnectionDetailRequest < TencentCloud::Common::AbstractModel
|
5275
|
+
# @param ClusterId: 集群ID
|
5276
|
+
# @type ClusterId: String
|
5277
|
+
# @param NamespaceId: 命名空间名称
|
5278
|
+
# @type NamespaceId: String
|
5279
|
+
# @param GroupId: 消费组名称
|
5280
|
+
# @type GroupId: String
|
5281
|
+
# @param ClientId: 消费端实例ID
|
5282
|
+
# @type ClientId: String
|
5283
|
+
# @param Offset: 偏移量
|
5284
|
+
# @type Offset: Integer
|
5285
|
+
# @param Limit: 限制数目
|
5286
|
+
# @type Limit: Integer
|
5287
|
+
# @param FilterType: 按主题类型过滤查询结果,可选择Normal, GlobalOrder, PartitionedOrder, Retry, Transaction, DeadLetter
|
5288
|
+
# @type FilterType: Array
|
5289
|
+
|
5290
|
+
attr_accessor :ClusterId, :NamespaceId, :GroupId, :ClientId, :Offset, :Limit, :FilterType
|
5291
|
+
|
5292
|
+
def initialize(clusterid=nil, namespaceid=nil, groupid=nil, clientid=nil, offset=nil, limit=nil, filtertype=nil)
|
5293
|
+
@ClusterId = clusterid
|
5294
|
+
@NamespaceId = namespaceid
|
5295
|
+
@GroupId = groupid
|
5296
|
+
@ClientId = clientid
|
5297
|
+
@Offset = offset
|
5298
|
+
@Limit = limit
|
5299
|
+
@FilterType = filtertype
|
5300
|
+
end
|
5301
|
+
|
5302
|
+
def deserialize(params)
|
5303
|
+
@ClusterId = params['ClusterId']
|
5304
|
+
@NamespaceId = params['NamespaceId']
|
5305
|
+
@GroupId = params['GroupId']
|
5306
|
+
@ClientId = params['ClientId']
|
5307
|
+
@Offset = params['Offset']
|
5308
|
+
@Limit = params['Limit']
|
5309
|
+
@FilterType = params['FilterType']
|
5310
|
+
end
|
5311
|
+
end
|
5312
|
+
|
5313
|
+
# DescribeRocketMQConsumerConnectionDetail返回参数结构体
|
5314
|
+
class DescribeRocketMQConsumerConnectionDetailResponse < TencentCloud::Common::AbstractModel
|
5315
|
+
# @param TotalCount: 总条数
|
5316
|
+
# @type TotalCount: Integer
|
5317
|
+
# @param Details: 消费端主题信息列表
|
5318
|
+
# @type Details: Array
|
5319
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5320
|
+
# @type RequestId: String
|
5321
|
+
|
5322
|
+
attr_accessor :TotalCount, :Details, :RequestId
|
5323
|
+
|
5324
|
+
def initialize(totalcount=nil, details=nil, requestid=nil)
|
5325
|
+
@TotalCount = totalcount
|
5326
|
+
@Details = details
|
5327
|
+
@RequestId = requestid
|
5328
|
+
end
|
5329
|
+
|
5330
|
+
def deserialize(params)
|
5331
|
+
@TotalCount = params['TotalCount']
|
5332
|
+
unless params['Details'].nil?
|
5333
|
+
@Details = []
|
5334
|
+
params['Details'].each do |i|
|
5335
|
+
rocketmqconsumertopic_tmp = RocketMQConsumerTopic.new
|
5336
|
+
rocketmqconsumertopic_tmp.deserialize(i)
|
5337
|
+
@Details << rocketmqconsumertopic_tmp
|
5338
|
+
end
|
5339
|
+
end
|
5340
|
+
@RequestId = params['RequestId']
|
5341
|
+
end
|
5342
|
+
end
|
5343
|
+
|
5273
5344
|
# DescribeRocketMQConsumerConnections请求参数结构体
|
5274
5345
|
class DescribeRocketMQConsumerConnectionsRequest < TencentCloud::Common::AbstractModel
|
5275
5346
|
# @param ClusterId: 集群ID
|
@@ -9951,6 +10022,43 @@ module TencentCloud
|
|
9951
10022
|
end
|
9952
10023
|
end
|
9953
10024
|
|
10025
|
+
# 消费者详情中的主题信息
|
10026
|
+
class RocketMQConsumerTopic < TencentCloud::Common::AbstractModel
|
10027
|
+
# @param Topic: 主题名称
|
10028
|
+
# @type Topic: String
|
10029
|
+
# @param Type: 主题类型,Default表示普通,GlobalOrder表示全局顺序,PartitionedOrder表示局部顺序,Transaction表示事务,Retry表示重试,DeadLetter表示死信
|
10030
|
+
# @type Type: String
|
10031
|
+
# @param PartitionNum: 分区数
|
10032
|
+
# @type PartitionNum: Integer
|
10033
|
+
# @param Accumulative: 消息堆积数
|
10034
|
+
# @type Accumulative: Integer
|
10035
|
+
# @param LastConsumptionTime: 最后消费时间,以毫秒为单位
|
10036
|
+
# @type LastConsumptionTime: Integer
|
10037
|
+
# @param SubRule: 订阅规则
|
10038
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10039
|
+
# @type SubRule: String
|
10040
|
+
|
10041
|
+
attr_accessor :Topic, :Type, :PartitionNum, :Accumulative, :LastConsumptionTime, :SubRule
|
10042
|
+
|
10043
|
+
def initialize(topic=nil, type=nil, partitionnum=nil, accumulative=nil, lastconsumptiontime=nil, subrule=nil)
|
10044
|
+
@Topic = topic
|
10045
|
+
@Type = type
|
10046
|
+
@PartitionNum = partitionnum
|
10047
|
+
@Accumulative = accumulative
|
10048
|
+
@LastConsumptionTime = lastconsumptiontime
|
10049
|
+
@SubRule = subrule
|
10050
|
+
end
|
10051
|
+
|
10052
|
+
def deserialize(params)
|
10053
|
+
@Topic = params['Topic']
|
10054
|
+
@Type = params['Type']
|
10055
|
+
@PartitionNum = params['PartitionNum']
|
10056
|
+
@Accumulative = params['Accumulative']
|
10057
|
+
@LastConsumptionTime = params['LastConsumptionTime']
|
10058
|
+
@SubRule = params['SubRule']
|
10059
|
+
end
|
10060
|
+
end
|
10061
|
+
|
9954
10062
|
# RocketMQ消费组信息
|
9955
10063
|
class RocketMQGroup < TencentCloud::Common::AbstractModel
|
9956
10064
|
# @param Name: 消费组名称
|