Skip to content

Commit

Permalink
cdc: canal-json dml event commit-ts should be tso (#18360) (#18365)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Aug 15, 2024
1 parent 4c82efc commit 0ad6648
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 @@ -60,7 +60,7 @@ TiCDC 会把一个 DDL Event 编码成如下 Canal-JSON 格式:
"data": null,
"old": null,
"_tidb": { // TiDB 的扩展字段
"commitTs": 163963309467037594
"commitTs": 429918007904436226 // TiDB TSO 时间戳
}
}
```
Expand Down Expand Up @@ -129,7 +129,7 @@ TiCDC 会把一个 DDL Event 编码成如下 Canal-JSON 格式:
],
"old": null,
"_tidb": { // TiDB 的扩展字段
"commitTs": 163963314122145239
"commitTs": 429918007904436226 // TiDB TSO 时间戳
}
}
```
Expand Down Expand Up @@ -158,7 +158,7 @@ WATERMARK Event 的示例如下:
"data": null,
"old": null,
"_tidb": { // TiDB 的扩展字段
"watermarkTs": 429918007904436226
"watermarkTs": 429918007904436226 // TiDB TSO 时间戳
}
}
```
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 @@ -358,7 +358,7 @@ large-message-handle-option = "handle-key-only"
],
"old": null,
"_tidb": { // TiDB 的扩展字段
"commitTs": 163963314122145239,
"commitTs": 429918007904436226, // TiDB TSO 时间戳
"onlyHandleKey": true
}
}
Expand Down

0 comments on commit 0ad6648

Please sign in to comment.