Skip to content

Commit

Permalink
ticdc add output old value config
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt committed Apr 26, 2024
1 parent 8e9d87b commit 59803a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ticdc/ticdc-changefeed-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,14 @@ enable-partition-separator = true
# The default value is "json".
# encoding-format = "json"

[sink.open]
# Whether to output the value before the row data changes. The default value is true. When it is diabled, the UPDATE event does not output the "p" field.
# output-old-value = true

[sink.debezium]
# Whether to output the value before the row data changes. The default value is true. When it is diabled, the UPDATE event does not output the "before" field.
# output-old-value = true

# Specifies the replication consistency configurations for a changefeed when using the redo log. For more information, see https://docs.pingcap.com/tidb/stable/ticdc-sink-to-mysql#eventually-consistent-replication-in-disaster-scenarios.
# Note: The consistency-related configuration items only take effect when the downstream is a database and the redo log feature is enabled.
[consistent]
Expand Down

0 comments on commit 59803a7

Please sign in to comment.