Skip to content

Commit cd6a02a

Browse files
committed
update
1 parent 8cc2e7b commit cd6a02a

File tree

4 files changed

+71
-25
lines changed

4 files changed

+71
-25
lines changed

internal/cli/serverless/changefeed/template.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ const (
5454
"enableTidbExtension": false,
5555
// available when protocol is DEBEZIUM
5656
"debeziumConfig": {
57-
"outputOldValue": true
57+
"disableOutputOldValue": false,
58+
"disableSchema": false
5859
},
5960
// available when protocol is AVRO
6061
"avroConfig": {
@@ -127,7 +128,8 @@ const (
127128
"protocol": "CANAL_JSON",
128129
"enableTidbExtension": false,
129130
"debeziumConfig": {
130-
"outputOldValue": true
131+
"disableOutputOldValue": false,
132+
"disableSchema": false
131133
},
132134
"avroConfig": {
133135
"decimalHandlingMode": "PRECISE",

pkg/tidbcloud/v1beta1/serverless/cdc.swagger.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,9 +919,13 @@
919919
"DebeziumConfig": {
920920
"type": "object",
921921
"properties": {
922-
"outputOldValue": {
922+
"disableOutputOldValue": {
923923
"type": "boolean",
924-
"title": "whether output old value, default to false"
924+
"title": "whether disable output old value, default to false"
925+
},
926+
"disableSchema": {
927+
"type": "boolean",
928+
"title": "disable schema in debezium message, default to false"
925929
}
926930
}
927931
},

pkg/tidbcloud/v1beta1/serverless/cdc/api/openapi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,11 @@ components:
747747
type: object
748748
DebeziumConfig:
749749
properties:
750-
outputOldValue:
751-
title: "whether output old value, default to false"
750+
disableOutputOldValue:
751+
title: "whether disable output old value, default to false"
752+
type: boolean
753+
disableSchema:
754+
title: "disable schema in debezium message, default to false"
752755
type: boolean
753756
type: object
754757
DecimalHandlingMode.Enum:

pkg/tidbcloud/v1beta1/serverless/cdc/model_debezium_config.go

Lines changed: 56 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)