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/manage-ticdc.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ The following are descriptions of parameters and parameter values that can be co
215
215
|`max-message-bytes`| The maximum size of data that is sent to Kafka broker each time (optional, `10MB` by default). From v5.0.6 and v4.0.6, the default value has changed from 64MB and 256MB to 10MB. |
216
216
|`replication-factor`| The number of Kafka message replicas that can be saved (optional, `1` by default) |
217
217
|`compression`| The compression algorithm used when sending messages (value options are `none`, `lz4`, `gzip`, `snappy`, and `zstd`;`none` by default). |
218
-
|`protocol`| The protocol with which messages are output to Kafka. The value options are `canal-json`, `open-protocol`, `canal`, `avro` and `maxwell`. |
218
+
|`protocol`| The protocol with which messages are output to Kafka. The value options are `canal-json`, `open-protocol`, `avro` and `maxwell`. |
219
219
|`auto-create-topic`| Determines whether TiCDC creates the topic automatically when the `topic-name` passed in does not exist in the Kafka cluster (optional, `true` by default) |
220
220
|`enable-tidb-extension`| Optional. `false` by default. When the output protocol is `canal-json`, if the value is `true`, TiCDC sends Resolved events and adds the TiDB extension field to the Kafka message. From v6.1.0, this parameter is also applicable to the `avro` protocol. If the value is `true`, TiCDC adds three TiDB extension fields to the Kafka message. |
221
221
|`max-batch-size`| New in v4.0.9. If the message protocol supports outputting multiple data changes to one Kafka message, this parameter specifies the maximum number of data changes in one Kafka message. It currently takes effect only when Kafka's `protocol` is `open-protocol`. (optional, `16` by default) |
@@ -341,7 +341,7 @@ The following are descriptions of parameters that can be configured for the sink
341
341
| `auth.tls` | Uses the TLS mode to verify the downstream Pulsar (optional). For example, `auth=tls&auth.tlsCertFile=/path/to/cert&auth.tlsKeyFile=/path/to/key`. |
342
342
| `auth.token` | Uses the token mode to verify the downstream Pulsar (optional). For example, `auth=token&auth.token=secret-token` or `auth=token&auth.file=path/to/secret-token-file`. |
343
343
| `name` | The name of Pulsar producer in TiCDC (optional) |
344
-
| `protocol` | The protocol with which messages are output to Pulsar. The value options are `canal-json`, `open-protocol`, `canal`, `avro`, and `maxwell`. |
344
+
| `protocol` | The protocol with which messages are output to Pulsar. The value options are `canal-json`, `open-protocol`, `avro`, and `maxwell`. |
345
345
| `maxPendingMessages` | Sets the maximum size of the pending message queue, which is optional and defaults to 1000. For example, pending for the confirmation message from Pulsar. |
Copy file name to clipboardExpand all lines: ticdc/ticdc-faq.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -106,20 +106,20 @@ If you use the `cdc cli changefeed create` command without specifying the `-conf
106
106
- Enables the Old Value feature
107
107
- Skips replicating tables that do not contain [valid indexes](/ticdc/ticdc-overview.md#restrictions)
108
108
109
-
## Does TiCDC support outputting data changes in the Canal format?
109
+
## Does TiCDC support outputting data changes in the Canal protocol?
110
110
111
-
Yes. To enable Canal output, specify the protocol as `canal` in the `--sink-uri`parameter. For example:
111
+
Yes. Note that for the Canal protocol, TiCDC only supports the JSON output format, while the protobuf format is not officially supported yet. To enable Canal output, specify `protocol` as `canal-json` in the `--sink-uri`configuration. For example:
Copy file name to clipboardExpand all lines: ticdc/ticdc-open-api.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,7 @@ The configuration parameters of sink are as follows:
159
159
160
160
`matcher`: The matching syntax of matcher is the same as the filter rule syntax.
161
161
162
-
`protocol`: For the sink of MQ type, you can specify the protocol format of the message. Currently the following protocols are supported: `canal-json`, `open-protocol`, `canal`, `avro`, and `maxwell`.
162
+
`protocol`: For the sink of MQ type, you can specify the protocol format of the message. Currently the following protocols are supported: `canal-json`, `open-protocol`, `avro`, and `maxwell`.
Copy file name to clipboardExpand all lines: ticdc/troubleshoot-ticdc.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ Since v4.0.9, you can try to enable the unified sorter feature in your replicati
142
142
143
143
## After I upgrade the TiCDC cluster to v4.0.8, the `[CDC:ErrKafkaInvalidConfig]Canal requires old value to be enabled` error is reported when I execute a changefeed. What should I do?
144
144
145
-
Since v4.0.8, if the `canal-json`, `canal`or`maxwell` protocol is used for output in a changefeed, TiCDC enables the old value feature automatically. However, if you have upgraded TiCDC from an earlier version to v4.0.8or later, when the changefeed uses the `canal-json`, `canal`or`maxwell` protocol and the old value feature is disabled, this error is reported.
145
+
Since v4.0.8, if the `canal-json`or`maxwell` protocol is used for output in a changefeed, TiCDC enables the old value feature automatically. However, if you have upgraded TiCDC from an earlier version to v4.0.8or later, when the changefeed uses the `canal-json`or`maxwell` protocol and the old value feature is disabled, this error is reported.
0 commit comments