tencentcloud-sdk-ckafka 3.0.1135 → 3.0.1138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190819/models.rb +48 -45
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb2716b9ef37d3aecdaa00ff851fee5fdacd130d
|
4
|
+
data.tar.gz: 44d2fcbf6afa106312ec22267f90d6c20b5bee6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92b6368eec7829623f25d2b2342e09316394cb5fb16dcdbaf6986512bd02e782f3fc69c68b385c7c039ad4206d0d6b9dbc79f6301c52eeb7ae94481a2e68d564
|
7
|
+
data.tar.gz: 687846707d3ce765ec1b7194b653abe94697253d94b2d8829fb4fac9111df92662aa8d36af8e16ebebcfa183ebf2dadcc44e2a7f9785230dbd59afd050797909
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1138
|
data/lib/v20190819/models.rb
CHANGED
@@ -1046,7 +1046,7 @@ module TencentCloud
|
|
1046
1046
|
|
1047
1047
|
# 高级配置对象
|
1048
1048
|
class Config < TencentCloud::Common::AbstractModel
|
1049
|
-
# @param Retention:
|
1049
|
+
# @param Retention: 消息保留时间,单位ms。
|
1050
1050
|
# @type Retention: Integer
|
1051
1051
|
# @param MinInsyncReplicas: 最小同步复制数
|
1052
1052
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -1055,22 +1055,22 @@ module TencentCloud
|
|
1055
1055
|
# delete:日志按保存时间删除;compact:日志按 key 压缩;compact, delete:日志按 key 压缩且会保存时间删除。
|
1056
1056
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1057
1057
|
# @type CleanUpPolicy: String
|
1058
|
-
# @param SegmentMs: Segment
|
1058
|
+
# @param SegmentMs: Segment 分片滚动的时长,单位ms。
|
1059
1059
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1060
1060
|
# @type SegmentMs: Integer
|
1061
1061
|
# @param UncleanLeaderElectionEnable: 0表示 false。 1表示 true。
|
1062
1062
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1063
1063
|
# @type UncleanLeaderElectionEnable: Integer
|
1064
|
-
# @param SegmentBytes: Segment
|
1064
|
+
# @param SegmentBytes: Segment 分片滚动的字节数,单位bytes
|
1065
1065
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1066
1066
|
# @type SegmentBytes: Integer
|
1067
|
-
# @param MaxMessageBytes:
|
1067
|
+
# @param MaxMessageBytes: 最大消息字节数,单位bytes
|
1068
1068
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1069
1069
|
# @type MaxMessageBytes: Integer
|
1070
|
-
# @param RetentionBytes:
|
1070
|
+
# @param RetentionBytes: 消息保留文件大小,单位Bytes
|
1071
1071
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1072
1072
|
# @type RetentionBytes: Integer
|
1073
|
-
# @param LogMsgTimestampType:
|
1073
|
+
# @param LogMsgTimestampType: 消息保存的时间类型,CreateTime表示生产者创建这条消息的时间;LogAppendTime表示broker接收到消息的时间。
|
1074
1074
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1075
1075
|
# @type LogMsgTimestampType: String
|
1076
1076
|
|
@@ -2043,7 +2043,7 @@ module TencentCloud
|
|
2043
2043
|
# @type InstanceName: String
|
2044
2044
|
# @param ZoneId: 可用区。当购买多可用区实例时,当前参数为主可用区。 [查看可用区](https://cloud.tencent.com/document/product/597/55246)
|
2045
2045
|
# @type ZoneId: Integer
|
2046
|
-
# @param Period: 预付费购买时长,例如 "1m"
|
2046
|
+
# @param Period: 预付费购买时长,例如 "1m",就是一个月,取值范围 1m~36m
|
2047
2047
|
# @type Period: String
|
2048
2048
|
# @param InstanceType: 国际站标准版实例规格。目前只有国际站标准版使用当前字段区分规格,国内站标准版使用峰值带宽区分规格。除了国际站标准版外的所有实例填写 1 即可。国际站标准版实例:入门型(general)]填写1;[标准型(standard)]填写2;[进阶型(advanced)]填写3;[容量型(capacity)]填写4;[高阶型1(specialized-1)]填写5;[高阶型2(specialized-2)]填写6;[高阶型3(specialized-3)]填写7;[高阶型4(specialized-4)]填写8。
|
2049
2049
|
# @type InstanceType: Integer
|
@@ -2428,7 +2428,10 @@ module TencentCloud
|
|
2428
2428
|
# @type VpcId: String
|
2429
2429
|
# @param SubnetId: vpc子网id,当vipType为3时必填
|
2430
2430
|
# @type SubnetId: String
|
2431
|
-
# @param AccessType: 访问类型:0-plaintext;1-sasl_plaintext;
|
2431
|
+
# @param AccessType: 访问类型:0-plaintext;1-sasl_plaintext;3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512 默认为0
|
2432
|
+
# vipType=3,支持 0,1,3,4,5
|
2433
|
+
# vipType=7,支持0,1,3
|
2434
|
+
# vipType=1,支持1,3
|
2432
2435
|
# @type AccessType: Integer
|
2433
2436
|
# @param AuthFlag: 是否需要权限管理,该字段已废弃
|
2434
2437
|
# @type AuthFlag: Integer
|
@@ -2578,7 +2581,7 @@ module TencentCloud
|
|
2578
2581
|
|
2579
2582
|
# CreateTopic请求参数结构体
|
2580
2583
|
class CreateTopicRequest < TencentCloud::Common::AbstractModel
|
2581
|
-
# @param InstanceId: 实例Id
|
2584
|
+
# @param InstanceId: 实例Id,可通过DescribeInstances接口获取。
|
2582
2585
|
# @type InstanceId: String
|
2583
2586
|
# @param TopicName: 只能包含字母、数字、下划线、“-”、“.”
|
2584
2587
|
# @type TopicName: String
|
@@ -2592,23 +2595,23 @@ module TencentCloud
|
|
2592
2595
|
# @type IpWhiteList: Array
|
2593
2596
|
# @param CleanUpPolicy: 清理日志策略,日志清理模式,默认为"delete"。"delete":日志按保存时间删除,"compact":日志按 key 压缩,"compact, delete":日志按 key 压缩且会按保存时间删除。
|
2594
2597
|
# @type CleanUpPolicy: String
|
2595
|
-
# @param Note: 主题备注,是一个不超过 64
|
2598
|
+
# @param Note: 主题备注,是一个不超过 64 个字符的字符串,可以用字母和数字为首字符,剩余部分可以包含字母、数字和横划线(-)
|
2596
2599
|
# @type Note: String
|
2597
|
-
# @param MinInsyncReplicas:
|
2600
|
+
# @param MinInsyncReplicas: 最小同步副本数,默认为1
|
2598
2601
|
# @type MinInsyncReplicas: Integer
|
2599
|
-
# @param UncleanLeaderElectionEnable: 是否允许未同步的副本选为leader,
|
2602
|
+
# @param UncleanLeaderElectionEnable: 是否允许未同步的副本选为leader,0:不允许,1:允许,默认不允许
|
2600
2603
|
# @type UncleanLeaderElectionEnable: Integer
|
2601
|
-
# @param RetentionMs: 可选参数。消息保留时间,单位ms,当前最小值为
|
2604
|
+
# @param RetentionMs: 可选参数。消息保留时间,单位ms,当前最小值为60000。默认值为7200000ms(2小时),最大值为7776000000 ms(90天)。
|
2602
2605
|
# @type RetentionMs: Integer
|
2603
|
-
# @param SegmentMs: Segment分片滚动的时长,单位ms
|
2606
|
+
# @param SegmentMs: Segment分片滚动的时长,单位ms,最小值为86400000ms(1天)。
|
2604
2607
|
# @type SegmentMs: Integer
|
2605
|
-
# @param MaxMessageBytes: 主题消息最大值,单位为 Byte,最小值
|
2608
|
+
# @param MaxMessageBytes: 主题消息最大值,单位为 Byte,最小值1024Bytes(即1KB),最大值为12582912Bytes(即12MB)
|
2606
2609
|
# @type MaxMessageBytes: Integer
|
2607
2610
|
# @param EnableAclRule: 预设ACL规则, 1:打开 0:关闭,默认不打开
|
2608
2611
|
# @type EnableAclRule: Integer
|
2609
2612
|
# @param AclRuleName: 预设ACL规则的名称
|
2610
2613
|
# @type AclRuleName: String
|
2611
|
-
# @param RetentionBytes: 可选, 保留文件大小. 默认为-1,单位
|
2614
|
+
# @param RetentionBytes: 可选, 保留文件大小. 默认为-1,单位Byte, 当前最小值为1073741824。
|
2612
2615
|
# @type RetentionBytes: Integer
|
2613
2616
|
# @param Tags: 标签列表
|
2614
2617
|
# @type Tags: Array
|
@@ -4329,7 +4332,7 @@ module TencentCloud
|
|
4329
4332
|
|
4330
4333
|
# DescribeConnectResource返回参数结构体
|
4331
4334
|
class DescribeConnectResourceResponse < TencentCloud::Common::AbstractModel
|
4332
|
-
# @param Result:
|
4335
|
+
# @param Result: 连接源数据信息
|
4333
4336
|
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DescribeConnectResourceResp`
|
4334
4337
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4335
4338
|
# @type RequestId: String
|
@@ -4354,11 +4357,11 @@ module TencentCloud
|
|
4354
4357
|
class DescribeConnectResourcesRequest < TencentCloud::Common::AbstractModel
|
4355
4358
|
# @param Type: 连接源类型
|
4356
4359
|
# @type Type: String
|
4357
|
-
# @param SearchWord:
|
4360
|
+
# @param SearchWord: 连接源名称的关键字查询,支持模糊匹配
|
4358
4361
|
# @type SearchWord: String
|
4359
4362
|
# @param Offset: 分页偏移量,默认为0
|
4360
4363
|
# @type Offset: Integer
|
4361
|
-
# @param Limit: 返回数量,默认为20,最大值为
|
4364
|
+
# @param Limit: 返回数量,默认为20,最大值为1000 (超过1000,则限制为1000)
|
4362
4365
|
# @type Limit: Integer
|
4363
4366
|
# @param ResourceRegion: 连接源的关键字查询, 根据地域查询本地域内连接管理列表中的连接(仅支持包含region输入的连接源)
|
4364
4367
|
# @type ResourceRegion: String
|
@@ -4434,15 +4437,15 @@ module TencentCloud
|
|
4434
4437
|
|
4435
4438
|
# DescribeConsumerGroup请求参数结构体
|
4436
4439
|
class DescribeConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
4437
|
-
# @param InstanceId: ckafka集群实例Id
|
4440
|
+
# @param InstanceId: ckafka集群实例Id,通过DescribeInstances接口获取
|
4438
4441
|
# @type InstanceId: String
|
4439
|
-
# @param GroupName:
|
4442
|
+
# @param GroupName: 用户需要查询的group名称。
|
4440
4443
|
# @type GroupName: String
|
4441
|
-
# @param TopicName:
|
4444
|
+
# @param TopicName: 用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。
|
4442
4445
|
# @type TopicName: String
|
4443
|
-
# @param Limit:
|
4446
|
+
# @param Limit: 返回消费组的限制数量,最大支持50
|
4444
4447
|
# @type Limit: Integer
|
4445
|
-
# @param Offset:
|
4448
|
+
# @param Offset: 消费组列表的起始偏移量
|
4446
4449
|
# @type Offset: Integer
|
4447
4450
|
|
4448
4451
|
attr_accessor :InstanceId, :GroupName, :TopicName, :Limit, :Offset
|
@@ -4730,7 +4733,7 @@ module TencentCloud
|
|
4730
4733
|
|
4731
4734
|
# DescribeDatahubTasks请求参数结构体
|
4732
4735
|
class DescribeDatahubTasksRequest < TencentCloud::Common::AbstractModel
|
4733
|
-
# @param Limit: 返回数量,默认为20,最大值为100
|
4736
|
+
# @param Limit: 返回数量,默认为20,最大值为100 (超过100限制为100)
|
4734
4737
|
# @type Limit: Integer
|
4735
4738
|
# @param Offset: 分页偏移量,默认为0
|
4736
4739
|
# @type Offset: Integer
|
@@ -5017,9 +5020,9 @@ module TencentCloud
|
|
5017
5020
|
|
5018
5021
|
# DescribeGroupInfo请求参数结构体
|
5019
5022
|
class DescribeGroupInfoRequest < TencentCloud::Common::AbstractModel
|
5020
|
-
# @param InstanceId: ckafka集群实例Id
|
5023
|
+
# @param InstanceId: ckafka集群实例Id,可通过DescribeInstances接口获取
|
5021
5024
|
# @type InstanceId: String
|
5022
|
-
# @param GroupList: Kafka
|
5025
|
+
# @param GroupList: Kafka 消费分组列表,可通过DescribeConsumerGroup接口获取
|
5023
5026
|
# @type GroupList: Array
|
5024
5027
|
|
5025
5028
|
attr_accessor :InstanceId, :GroupList
|
@@ -5185,7 +5188,7 @@ module TencentCloud
|
|
5185
5188
|
|
5186
5189
|
# DescribeInstanceAttributes请求参数结构体
|
5187
5190
|
class DescribeInstanceAttributesRequest < TencentCloud::Common::AbstractModel
|
5188
|
-
# @param InstanceId: ckafka集群实例Id
|
5191
|
+
# @param InstanceId: ckafka集群实例Id,可通过DescribeInstances接口获取
|
5189
5192
|
# @type InstanceId: String
|
5190
5193
|
|
5191
5194
|
attr_accessor :InstanceId
|
@@ -5627,9 +5630,9 @@ module TencentCloud
|
|
5627
5630
|
|
5628
5631
|
# DescribeTopicAttributes请求参数结构体
|
5629
5632
|
class DescribeTopicAttributesRequest < TencentCloud::Common::AbstractModel
|
5630
|
-
# @param InstanceId: ckafka集群实例Id
|
5633
|
+
# @param InstanceId: ckafka集群实例Id,可通过DescribeInstances接口获取。
|
5631
5634
|
# @type InstanceId: String
|
5632
|
-
# @param TopicName:
|
5635
|
+
# @param TopicName: 主题名称,可通过DescribeTopic接口获取。
|
5633
5636
|
# @type TopicName: String
|
5634
5637
|
|
5635
5638
|
attr_accessor :InstanceId, :TopicName
|
@@ -5670,19 +5673,19 @@ module TencentCloud
|
|
5670
5673
|
|
5671
5674
|
# DescribeTopicDetail请求参数结构体
|
5672
5675
|
class DescribeTopicDetailRequest < TencentCloud::Common::AbstractModel
|
5673
|
-
# @param InstanceId: ckafka集群实例Id
|
5676
|
+
# @param InstanceId: ckafka集群实例Id,可通过DescribeInstances接口获取。
|
5674
5677
|
# @type InstanceId: String
|
5675
5678
|
# @param SearchWord: (过滤条件)按照topicName过滤,支持模糊查询
|
5676
5679
|
# @type SearchWord: String
|
5677
5680
|
# @param Offset: 偏移量,不填默认为0
|
5678
5681
|
# @type Offset: Integer
|
5679
|
-
# @param Limit: 返回数量,不填则默认
|
5682
|
+
# @param Limit: 返回数量,不填则默认 20,取值要大于0
|
5680
5683
|
# @type Limit: Integer
|
5681
5684
|
# @param AclRuleName: Acl预设策略名称
|
5682
5685
|
# @type AclRuleName: String
|
5683
|
-
# @param OrderBy: 根据特定的属性排序(目前支持PartitionNum/CreateTime)
|
5686
|
+
# @param OrderBy: 根据特定的属性排序(目前支持PartitionNum/CreateTime),默认值为CreateTime。
|
5684
5687
|
# @type OrderBy: String
|
5685
|
-
# @param OrderType: 0-顺序、1
|
5688
|
+
# @param OrderType: 0-顺序、1-倒序,默认值为0。
|
5686
5689
|
# @type OrderType: Integer
|
5687
5690
|
# @param Filters: 目前支持 ReplicaNum (副本数)筛选
|
5688
5691
|
# @type Filters: Array
|
@@ -5744,7 +5747,7 @@ module TencentCloud
|
|
5744
5747
|
|
5745
5748
|
# DescribeTopicFlowRanking请求参数结构体
|
5746
5749
|
class DescribeTopicFlowRankingRequest < TencentCloud::Common::AbstractModel
|
5747
|
-
# @param InstanceId: ckafka集群实例Id
|
5750
|
+
# @param InstanceId: ckafka集群实例Id,可通过DescribeInstances接口获取。
|
5748
5751
|
# @type InstanceId: String
|
5749
5752
|
# @param RankingType: 排行类别,PRO:Topic生产流量;CON:Topic消费流量
|
5750
5753
|
# @type RankingType: String
|
@@ -5799,9 +5802,9 @@ module TencentCloud
|
|
5799
5802
|
|
5800
5803
|
# DescribeTopicProduceConnection请求参数结构体
|
5801
5804
|
class DescribeTopicProduceConnectionRequest < TencentCloud::Common::AbstractModel
|
5802
|
-
# @param InstanceId: ckafka集群实例Id
|
5805
|
+
# @param InstanceId: ckafka集群实例Id,可通过DescribeInstances接口获取。
|
5803
5806
|
# @type InstanceId: String
|
5804
|
-
# @param TopicName:
|
5807
|
+
# @param TopicName: 主题名,可通过DescribeTopic接口获取。
|
5805
5808
|
# @type TopicName: String
|
5806
5809
|
|
5807
5810
|
attr_accessor :InstanceId, :TopicName
|
@@ -5958,7 +5961,7 @@ module TencentCloud
|
|
5958
5961
|
# @type TopicName: String
|
5959
5962
|
# @param Offset: 偏移量,不填默认为0
|
5960
5963
|
# @type Offset: Integer
|
5961
|
-
# @param Limit:
|
5964
|
+
# @param Limit: 返回数量,默认值为20,必须大于0。
|
5962
5965
|
# @type Limit: Integer
|
5963
5966
|
# @param OutOfSyncReplicaOnly: 仅筛选未同步副本
|
5964
5967
|
# @type OutOfSyncReplicaOnly: Boolean
|
@@ -8985,17 +8988,17 @@ module TencentCloud
|
|
8985
8988
|
|
8986
8989
|
# ModifyGroupOffsets请求参数结构体
|
8987
8990
|
class ModifyGroupOffsetsRequest < TencentCloud::Common::AbstractModel
|
8988
|
-
# @param InstanceId: ckafka集群实例Id
|
8991
|
+
# @param InstanceId: ckafka集群实例Id,可通过DescribeInstances接口获取
|
8989
8992
|
# @type InstanceId: String
|
8990
|
-
# @param Group:
|
8993
|
+
# @param Group: 消费分组名称,可通过DescribeConsumerGroup接口获取
|
8991
8994
|
# @type Group: String
|
8992
|
-
# @param Strategy: 重置offset
|
8995
|
+
# @param Strategy: 重置offset的策略,入参含义 0. 对齐shift-by参数,代表把offset向前或向后移动shift条 1. 对齐参考(by-duration,to-datetime,to-earliest,to-latest),代表把offset移动到指定timestamp的位置 2. 对齐参考(to-offset),代表把offset移动到指定的offset位置
|
8993
8996
|
# @type Strategy: Integer
|
8994
|
-
# @param Topics:
|
8997
|
+
# @param Topics: 需要重置的主题名列表
|
8995
8998
|
# @type Topics: Array
|
8996
8999
|
# @param Shift: 当strategy为0时,必须包含该字段,可以大于零代表会把offset向后移动shift条,小于零则将offset向前回溯shift条数。正确重置后新的offset应该是(old_offset + shift),需要注意的是如果新的offset小于partition的earliest则会设置为earliest,如果大于partition 的latest则会设置为latest
|
8997
9000
|
# @type Shift: Integer
|
8998
|
-
# @param ShiftTimestamp: 单位ms。当strategy为1时,必须包含该字段,其中-2表示重置offset到最开始的位置,-1表示重置到最新的位置(相当于清空),其它值则代表指定的时间,会获取topic中指定时间的offset
|
9001
|
+
# @param ShiftTimestamp: 单位ms。当strategy为1时,必须包含该字段,其中-2表示重置offset到最开始的位置,-1表示重置到最新的位置(相当于清空),其它值则代表指定的时间,会获取topic中指定时间的offset然后进行重置,需要注意的是,如果指定的时间不存在消息,则获取最末尾的offset。
|
8999
9002
|
# @type ShiftTimestamp: Integer
|
9000
9003
|
# @param Offset: 需要重新设置的offset位置。当strategy为2,必须包含该字段。
|
9001
9004
|
# @type Offset: Integer
|
@@ -9367,7 +9370,7 @@ module TencentCloud
|
|
9367
9370
|
# @type RetentionMs: Integer
|
9368
9371
|
# @param MaxMessageBytes: 主题消息最大值,单位为 Byte,最大值为12582912Byte(即12MB)。
|
9369
9372
|
# @type MaxMessageBytes: Integer
|
9370
|
-
# @param SegmentMs: Segment 分片滚动的时长,单位:ms
|
9373
|
+
# @param SegmentMs: Segment 分片滚动的时长,单位:ms,当前最小值86400000ms。
|
9371
9374
|
# @type SegmentMs: Integer
|
9372
9375
|
# @param CleanUpPolicy: 消息删除策略,可以选择delete 或者compact
|
9373
9376
|
# @type CleanUpPolicy: String
|
@@ -11218,7 +11221,7 @@ module TencentCloud
|
|
11218
11221
|
class TopicAttributesResponse < TencentCloud::Common::AbstractModel
|
11219
11222
|
# @param TopicId: 主题 ID
|
11220
11223
|
# @type TopicId: String
|
11221
|
-
# @param CreateTime:
|
11224
|
+
# @param CreateTime: 创建时间的秒级时间戳
|
11222
11225
|
# @type CreateTime: Integer
|
11223
11226
|
# @param Note: 主题备注
|
11224
11227
|
# @type Note: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ckafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1138
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|