tencentcloud-sdk-ckafka 3.0.395 → 3.0.396

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190819/models.rb +35 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32aa49320c99070709447e037865e6f769648371
4
- data.tar.gz: 9a3435fa9e7cbb8e0875cd9e8e6fa559f9a2cef0
3
+ metadata.gz: 7bb3cd6441dbc84e4a5c5963ca13bc38978a0ed7
4
+ data.tar.gz: bf421428777e67aadbcab31685b1f3319d94a6d2
5
5
  SHA512:
6
- metadata.gz: 2df3108b34d568d4a915acafc826e10d8844714b808f448656356b21554934dd38e79d742ee3138242cc5846fe8ef7ea5581dac6975db9e82c501bb158e4dc75
7
- data.tar.gz: a97504c4c8bf218aed3eff565bbdb00356b2bbe354da01bfe576cd1b5580070b2824489017c4fda9b281048f74738eb5b5a5bc8be0a0a4920c4db2e48019d210
6
+ metadata.gz: eb57f8784392cda96efa110cda4563164f420a6ad18ceef93ead2b9b6e2f5c41c0273677685e4b8d4468e260aa0b5e26a1edc6e3cbf72d1fecde264707337cdb
7
+ data.tar.gz: 1bcde8699509af13631773a28d56c2a2b94f2170398ad6486d52da050dfea56e61bd9941550ae93db80f3e53236a37ac0839618dec8f85e1c9592fddb314a6d3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.395
1
+ 3.0.396
@@ -7262,10 +7262,12 @@ module TencentCloud
7262
7262
  # @type IncludeContentChanges: String
7263
7263
  # @param IncludeQuery: 如果该值为true,且MySQL中"binlog_rows_query_log_events"配置项的值为"ON",则流入到topic的数据包含原SQL语句;若该值为false,流入到topic的数据不包含原SQL语句
7264
7264
  # @type IncludeQuery: Boolean
7265
+ # @param RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
7266
+ # @type RecordWithSchema: Boolean
7265
7267
 
7266
- attr_accessor :Database, :Table, :Resource, :SnapshotMode, :DdlTopic, :DataSourceMonitorMode, :DataSourceMonitorResource, :DataSourceIncrementMode, :DataSourceIncrementColumn, :DataSourceStartFrom, :DataTargetInsertMode, :DataTargetPrimaryKeyField, :DataTargetRecordMapping, :TopicRegex, :TopicReplacement, :KeyColumns, :DropInvalidMessage, :DropCls, :OutputFormat, :IsTablePrefix, :IncludeContentChanges, :IncludeQuery
7268
+ attr_accessor :Database, :Table, :Resource, :SnapshotMode, :DdlTopic, :DataSourceMonitorMode, :DataSourceMonitorResource, :DataSourceIncrementMode, :DataSourceIncrementColumn, :DataSourceStartFrom, :DataTargetInsertMode, :DataTargetPrimaryKeyField, :DataTargetRecordMapping, :TopicRegex, :TopicReplacement, :KeyColumns, :DropInvalidMessage, :DropCls, :OutputFormat, :IsTablePrefix, :IncludeContentChanges, :IncludeQuery, :RecordWithSchema
7267
7269
 
7268
- def initialize(database=nil, table=nil, resource=nil, snapshotmode=nil, ddltopic=nil, datasourcemonitormode=nil, datasourcemonitorresource=nil, datasourceincrementmode=nil, datasourceincrementcolumn=nil, datasourcestartfrom=nil, datatargetinsertmode=nil, datatargetprimarykeyfield=nil, datatargetrecordmapping=nil, topicregex=nil, topicreplacement=nil, keycolumns=nil, dropinvalidmessage=nil, dropcls=nil, outputformat=nil, istableprefix=nil, includecontentchanges=nil, includequery=nil)
7270
+ def initialize(database=nil, table=nil, resource=nil, snapshotmode=nil, ddltopic=nil, datasourcemonitormode=nil, datasourcemonitorresource=nil, datasourceincrementmode=nil, datasourceincrementcolumn=nil, datasourcestartfrom=nil, datatargetinsertmode=nil, datatargetprimarykeyfield=nil, datatargetrecordmapping=nil, topicregex=nil, topicreplacement=nil, keycolumns=nil, dropinvalidmessage=nil, dropcls=nil, outputformat=nil, istableprefix=nil, includecontentchanges=nil, includequery=nil, recordwithschema=nil)
7269
7271
  @Database = database
7270
7272
  @Table = table
7271
7273
  @Resource = resource
@@ -7288,6 +7290,7 @@ module TencentCloud
7288
7290
  @IsTablePrefix = istableprefix
7289
7291
  @IncludeContentChanges = includecontentchanges
7290
7292
  @IncludeQuery = includequery
7293
+ @RecordWithSchema = recordwithschema
7291
7294
  end
7292
7295
 
7293
7296
  def deserialize(params)
@@ -7323,6 +7326,7 @@ module TencentCloud
7323
7326
  @IsTablePrefix = params['IsTablePrefix']
7324
7327
  @IncludeContentChanges = params['IncludeContentChanges']
7325
7328
  @IncludeQuery = params['IncludeQuery']
7329
+ @RecordWithSchema = params['RecordWithSchema']
7326
7330
  end
7327
7331
  end
7328
7332
 
@@ -7527,15 +7531,30 @@ module TencentCloud
7527
7531
  # @type PluginName: String
7528
7532
  # @param SnapshotMode: 复制存量信息(never增量, initial全量),默认为initial
7529
7533
  # @type SnapshotMode: String
7534
+ # @param DataFormat: 上游数据格式(JSON/Debezium), 当数据库同步模式为默认字段匹配时,必填
7535
+ # @type DataFormat: String
7536
+ # @param DataTargetInsertMode: "INSERT" 表示使用 Insert 模式插入,"UPSERT" 表示使用 Upsert 模式插入
7537
+ # @type DataTargetInsertMode: String
7538
+ # @param DataTargetPrimaryKeyField: 当 "DataInsertMode"="UPSERT" 时,传入当前 upsert 时依赖的主键
7539
+ # @type DataTargetPrimaryKeyField: String
7540
+ # @param DataTargetRecordMapping: 表与消息间的映射关系
7541
+ # @type DataTargetRecordMapping: Array
7542
+ # @param DropInvalidMessage: 是否抛弃解析失败的消息,默认为true
7543
+ # @type DropInvalidMessage: Boolean
7530
7544
 
7531
- attr_accessor :Database, :Table, :Resource, :PluginName, :SnapshotMode
7545
+ attr_accessor :Database, :Table, :Resource, :PluginName, :SnapshotMode, :DataFormat, :DataTargetInsertMode, :DataTargetPrimaryKeyField, :DataTargetRecordMapping, :DropInvalidMessage
7532
7546
 
7533
- def initialize(database=nil, table=nil, resource=nil, pluginname=nil, snapshotmode=nil)
7547
+ def initialize(database=nil, table=nil, resource=nil, pluginname=nil, snapshotmode=nil, dataformat=nil, datatargetinsertmode=nil, datatargetprimarykeyfield=nil, datatargetrecordmapping=nil, dropinvalidmessage=nil)
7534
7548
  @Database = database
7535
7549
  @Table = table
7536
7550
  @Resource = resource
7537
7551
  @PluginName = pluginname
7538
7552
  @SnapshotMode = snapshotmode
7553
+ @DataFormat = dataformat
7554
+ @DataTargetInsertMode = datatargetinsertmode
7555
+ @DataTargetPrimaryKeyField = datatargetprimarykeyfield
7556
+ @DataTargetRecordMapping = datatargetrecordmapping
7557
+ @DropInvalidMessage = dropinvalidmessage
7539
7558
  end
7540
7559
 
7541
7560
  def deserialize(params)
@@ -7544,6 +7563,18 @@ module TencentCloud
7544
7563
  @Resource = params['Resource']
7545
7564
  @PluginName = params['PluginName']
7546
7565
  @SnapshotMode = params['SnapshotMode']
7566
+ @DataFormat = params['DataFormat']
7567
+ @DataTargetInsertMode = params['DataTargetInsertMode']
7568
+ @DataTargetPrimaryKeyField = params['DataTargetPrimaryKeyField']
7569
+ unless params['DataTargetRecordMapping'].nil?
7570
+ @DataTargetRecordMapping = []
7571
+ params['DataTargetRecordMapping'].each do |i|
7572
+ recordmapping_tmp = RecordMapping.new
7573
+ recordmapping_tmp.deserialize(i)
7574
+ @DataTargetRecordMapping << recordmapping_tmp
7575
+ end
7576
+ end
7577
+ @DropInvalidMessage = params['DropInvalidMessage']
7547
7578
  end
7548
7579
  end
7549
7580
 
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.395
4
+ version: 3.0.396
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-26 00:00:00.000000000 Z
11
+ date: 2022-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common