Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ticdc: add note to the Avro protocol #19636

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ticdc/ticdc-avro-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Value 数据格式默认与 Key 数据格式相同,但是 Value 的 `fields`
> - 对于 Delete 事件,只编码 Key 部分,Value 部分为空。
> - 对于 Insert 事件,编码所有列数据到 Value 部分。
> - 对于 Update 事件,只编码更新后的所有列数据到 Value 部分。
> - Avro 协议不会对 Insert 和 Delete 事件的旧值进行编码。此外,为了与大多数仅在删除时识别空记录("delete.on.null")的 Confluent sink 连接器兼容,即使启用了 enable-tidb-extension 选项,delete 事件也不包含 TiDB 扩展字段信息,例如 _tidb_commit_ts。如果您需要这些功能,请考虑使用其他协议,例如 Canal-JSON 或 Debezium。
wk989898 marked this conversation as resolved.
Show resolved Hide resolved

## TiDB 扩展字段

Expand Down
Loading