TICDC Error When Syncing to Kafka

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

Original topic: TICDC同步到kafka报错

| username: api915

【TiDB Usage Environment】Testing
【TiDB Version】V6.1.0
【Encountered Problem】
[CDC:ErrKafkaInvalidConfig]kafka config invalid: [CDC:ErrMQSinkUnknownProtocol]unknown ‘’ protocol for Message Queue sink

【Reproduction Path】Steps taken to encounter the problem

  1. Enter the CDC container
  2. Execute the command
    /cdc cli changefeed create --pd=http://basic-pd:2379 --sink-uri=“kafka://11.11.11.1:9092/t1?kafka-version=2.6.3&partition-num=1&max-message-bytes=67108864&replication-factor=1” --changefeed-id=“simple-replication-task” --sort-engine=“unified”
  3. Error occurs
    [CDC:ErrKafkaInvalidConfig]kafka config invalid: [CDC:ErrMQSinkUnknownProtocol]unknown ‘’ protocol for Message Queue sink

【Problem Phenomenon and Impact】

【Attachments】

Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.

| username: ealam_小羽 | Original post link

Choose a protocol?
https://docs.pingcap.com/zh/tidb/stable/manage-ticdc#sink-uri-配置-kafka