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
- Enter the CDC container
- 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” - 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.