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: update ticdc-debezium.md #19544

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
de39cfc
wip
wk989898 Dec 2, 2024
8c957e5
Update ticdc-debezium.md
wk989898 Dec 6, 2024
a0dc693
Update ticdc-debezium.md
wk989898 Dec 6, 2024
793e485
Update ticdc-debezium.md
wk989898 Dec 6, 2024
66f2dde
Update ticdc-debezium.md
wk989898 Dec 6, 2024
b9c4f4b
Update ticdc-debezium.md
wk989898 Dec 6, 2024
6da4609
Update ticdc-debezium.md
wk989898 Dec 6, 2024
afc151e
Update ticdc-debezium.md
wk989898 Dec 9, 2024
19aa23c
Update ticdc-debezium.md
wk989898 Dec 9, 2024
61b0b2a
Update ticdc-debezium.md
wk989898 Dec 9, 2024
996d8f9
Update ticdc-debezium.md
wk989898 Dec 12, 2024
852aa42
ticdc: replace each hard Tab with four spaces
lilin90 Jan 6, 2025
abbe96d
ticdc: update format
lilin90 Jan 6, 2025
bc9013d
ticdc: avoid manual line breaks
lilin90 Jan 6, 2025
e6311da
ticdc: fix unclosed tags
lilin90 Jan 6, 2025
5c2a154
Update ticdc-debezium.md
wk989898 Jan 10, 2025
b4fbf1d
Update ticdc-debezium.md
wk989898 Jan 13, 2025
70688e0
Apply suggestions from code review
wk989898 Jan 24, 2025
da11ba4
Update ticdc-debezium.md
wk989898 Jan 24, 2025
0553e52
Update wording for consistency
lilin90 Feb 5, 2025
a3aa368
Apply suggestions from code review
wk989898 Feb 6, 2025
1e15afb
Apply suggestions from code review
wk989898 Feb 6, 2025
beb5c8b
Update according to comments on Chinese PR
lilin90 Feb 6, 2025
d1b79b4
Update wording for consistency
lilin90 Feb 6, 2025
3d3e58d
ticdc: improve format
lilin90 Feb 6, 2025
ab61ba3
Apply suggestions from code review
lilin90 Feb 7, 2025
35990d9
Remove extra spaces
lilin90 Feb 7, 2025
de26af5
Apply suggestions from code review
lilin90 Feb 7, 2025
9df3fce
Remove an extra space
lilin90 Feb 7, 2025
8954f1a
Apply suggestions from code review
lilin90 Feb 8, 2025
fefe294
Update format
lilin90 Feb 8, 2025
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
Prev Previous commit
Next Next commit
Update according to comments on Chinese PR
  • Loading branch information
lilin90 authored Feb 6, 2025
commit beb5c8ba4f6538e461640c8cd68bd30e4643530f
8 changes: 4 additions & 4 deletions ticdc/ticdc-debezium.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ When you use Kafka as the downstream sink, specify the `protocol` field as `debe

The Debezium protocol supports the following types of events:

- DDL event: represents a DDL change record. The DDL event is sent after an upstream DDL statement is successfully executed. It is sent to the MQ Partition with the index being 0.
- DDL event: represents a DDL change record. After the upstream DDL statement is successfully executed, the DDL event is sent to every Message Queue (MQ) partition.

- DML event: represents a row data change record. The DML event is sent when a row change occurs. It contains the information about the row after the change occurs.

Expand Down Expand Up @@ -400,7 +400,7 @@ The key fields of the preceding JSON data are explained as follows:
| payload.ts_ms | Number | The timestamp (in milliseconds) when TiCDC generates this message. |
| payload.ddl | String | The SQL statement of the DDL event. |
| payload.databaseName | String | The name of the database where the event occurs. |
| payload.source.commit_ts | Number | The `CommitTs` identifier when TiCDC generates this message. |
| payload.source.commit_ts | Number | The `CommitTs` value of the event. |
| payload.source.db | String | The name of the database where the event occurs. |
| payload.source.table | String | The name of the table where the event occurs. |
| payload.tableChanges | Array | A structured representation of the entire table schema after the schema change. The `tableChanges` field contains an array that includes entries for each column of the table. Because the structured representation presents data in JSON or Avro format, consumers can easily read messages without first processing them through a DDL parser. |
Expand All @@ -413,7 +413,7 @@ The key fields of the preceding JSON data are explained as follows:
| payload.tableChanges.table.columns.jdbcType | Number | The jdbc type of the column. |
| payload.tableChanges.table.columns.comment | String | The comment of the column. |
| payload.tableChanges.table.columns.defaultValueExpression | String | The default value of the column. |
| payload.tableChanges.table.columns.enumValues | String | The enumeration values of the column. The format is `ENUM ('e1', 'e2')` or `SET ('e1', 'e2')`. |
| payload.tableChanges.table.columns.enumValues | String | The enumeration values of the column. The format is `[ 'e1', 'e2' ]`. |
| payload.tableChanges.table.columns.charsetName | String | The character set of the column. |
| payload.tableChanges.table.columns.length | Number | The length of the column. |
| payload.tableChanges.table.columns.scale | Number | The scale of the column. |
Expand Down Expand Up @@ -770,7 +770,7 @@ The key fields of the preceding JSON data are explained as follows:
|:----------|:-------|:-------------------------------------------------------|
| payload.op | String | The type of the change event. `"m"` indicates an watermark event. |
| payload.ts_ms | Number | The timestamp (in milliseconds) when TiCDC generates this message. |
| payload.source.commit_ts | Number | The `CommitTs` identifier when TiCDC generates this message. |
| payload.source.commit_ts | Number | The `CommitTs` value of the event. |
| payload.source.db | String | The name of the database where the event occurs. |
| payload.source.table | String | The name of the table where the event occurs. |
| schema.fields | JSON | The type information of each field in the payload, including the schema information of the row data before and after the change. |
Expand Down
Loading