Skip to content

Commit

Permalink
ticdc: add note to the Avro protocol (#19573) (#20101)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jan 22, 2025
1 parent 6c4aaa1 commit 87ad453
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ticdc/ticdc-avro-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ The data format of Value is the same as that of Key, by default. However, `field
> - For Delete events, Avro only encodes the Key part. The Value part is empty.
> - For Insert events, Avro encodes all column data to the Value part.
> - For Update events, Avro encodes only all column data that is updated to the Value part.
>
> The Avro protocol does not encode the old values for Update and Delete events. Additionally, to be compatible with most Confluent sink connectors that rely on `null` records to identify deletions (`delete.on.null`), Delete events do not include extension information, such as `_tidb_commit_ts`, even when `enable-tidb-extension` is enabled. If you need these features, consider using other protocols such as Canal-JSON or Debezium.
## TiDB extension fields

Expand Down

0 comments on commit 87ad453

Please sign in to comment.