Skip to content

Commit

Permalink
cdc: canal-json dml event commit-ts should be TSO (#18591) (#18600)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Aug 15, 2024
1 parent ce06b02 commit 5399c03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ticdc/ticdc-canal-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ TiCDC encodes a DDL Event into the following Canal-JSON format.
"data": null,
"old": null,
"_tidb": { // TiDB extension field
"commitTs": 163963309467037594
"commitTs": 429918007904436226 // A TiDB TSO timestamp
}
}
```
Expand Down Expand Up @@ -133,7 +133,7 @@ TiCDC encodes a row of DML data change event as follows:
],
"old": null,
"_tidb": { // TiDB extension field
"commitTs": 163963314122145239
"commitTs": 429918007904436226 // A TiDB TSO timestamp
}
}
```
Expand Down Expand Up @@ -162,7 +162,7 @@ The following is an example of the WATERMARK Event.
"data": null,
"old": null,
"_tidb": { // TiDB extension field
"watermarkTs": 429918007904436226
"watermarkTs": 429918007904436226 // A TiDB TSO timestamp
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion ticdc/ticdc-sink-to-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ The message format with handle keys only is as follows:
],
"old": null,
"_tidb": { // TiDB extension fields
"commitTs": 163963314122145239,
"commitTs": 429918007904436226, // A TiDB TSO timestamp
"onlyHandleKey": true
}
}
Expand Down

0 comments on commit 5399c03

Please sign in to comment.