You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ticdc/ticdc-open-api-v2.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -357,11 +357,11 @@ The `sink.csv` parameters are described as follows:
357
357
|`quote`|`STRING` type. The quotation character used to surround fields in the CSV file. If the value is empty, no quotation is used. The default value is `"`. |
358
358
|`binary_encoding_method`|`STRING` type. The encoding method of binary data, which can be `"base64"` or `"hex"`. The default value is `"base64"`. |
359
359
360
-
`sink.dispatchers`: for the sink of MQ type, you can use this parameter to configure the event dispatcher. The following dispatchers are supported: `default`, `ts`, `rowid`, and `table`. The dispatcher rules are as follows:
360
+
`sink.dispatchers`: for the sink of MQ type, you can use this parameter to configure the event dispatcher. The following dispatchers are supported: `default`, `ts`, `index-value`, and `table`. The dispatcher rules are as follows:
361
361
362
362
-`default`: when multiple unique indexes (including the primary key) exist, events are dispatched in the table mode. When only one unique index (or the primary key) exists, events are dispatched in the rowid mode. If the Old Value feature is enabled, events are dispatched in the table mode.
363
363
-`ts`: uses the commitTs of the row change to create the hash value and dispatch events.
364
-
-`rowid`: uses the name and value of the selected HandleKey column to create the hash value and dispatch events.
364
+
-`index-value`: uses the name and value of the selected HandleKey column to create the hash value and dispatch events.
365
365
-`table`: uses the schema name of the table and the table name to create the hash value and dispatch events.
366
366
367
367
`sink.dispatchers` is an array. The parameters are described as follows:
`dispatchers`: For the sink of MQ type, you can use dispatchers to configure the event dispatcher. Four dispatchers are supported: `default`, `ts`, `rowid`, and `table`. The dispatcher rules are as follows:
157
+
`dispatchers`: For the sink of MQ type, you can use dispatchers to configure the event dispatcher. Four dispatchers are supported: `default`, `ts`, `index-value`, and `table`. The dispatcher rules are as follows:
158
158
159
+
<<<<<<< HEAD
159
160
-`default`: When multiple unique indexes (including the primary key) exist or the Old Value feature is enabled, events are dispatched in the `table` mode. When only one unique index (or the primary key) exists, events are dispatched in the `rowid` mode.
160
161
-`ts`: Uses the commitTs of the row change to create the hash value and dispatch events.
161
162
-`rowid`: Uses the name and value of the selected HandleKey column to create the hash value and dispatch events.
162
163
-`table`: Uses the schema name of the table and the table name to create the hash value and dispatch events.
164
+
=======
165
+
-`default`: dispatches events in the `table` mode.
166
+
-`ts`: uses the commitTs of the row change to create the hash value and dispatch events.
167
+
-`index-value`: uses the name and value of the selected HandleKey column to create the hash value and dispatch events.
168
+
-`table`: uses the schema name of the table and the table name to create the hash value and dispatch events.
0 commit comments