Suggest Adding High Availability URI Configuration to CDC Sync to Kafka Documentation

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 建议cdc同步到kafka文档中增加高可用的uri配置

| username: tidb狂热爱好者

Documentation is unclear or incomplete, please submit according to the template below:

  1. –sink-uri=“kafka://127.0.0.1:9092,127.0.0.2:9092,127.0.0.3:9092/kafka-topic-name?protocol=canal-json&partition-num=3&replication-factor=1&max-message-bytes=1048576” --config=“changefeed.conf”

The Sink URI is used to specify the connection information of the TiCDC target system, following the format below:

[scheme]://[userinfo@][host]:[port],[userinfo@][host]:[port],[userinfo@][host]:[port][/path]?[query_parameters]

Example:

--sink-uri="kafka://127.0.0.1:9092,127.0.0.2:9092,127.0.0.3:9092/kafka-topic-name?protocol=canal-json&partition-num=3&replication-factor=1&max-message-bytes=1048576" --config="changefeed.conf"
| username: jaybing926 | Original post link

Baby, you’re awesome.

| username: 像风一样的男子 | Original post link

Although he didn’t write it, everyone assumes that multiple Kafka addresses are written by default, right?

| username: TiDB社区小助手 | Original post link

PR has been submitted: TiCDC: modify Kafka sink uri format by wk989898 · Pull Request #17675 · pingcap/docs · GitHub