Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: ticdc链接kafka报错,升级后报错依然存在
To improve efficiency, please provide the following information. A clear problem description can help resolve the issue faster:
【TiDB Usage Environment】Production
【TiDB Version】tidb 6.2 cdc v6.2.0
【Encountered Problem】ticdc connection to Kafka error
【Reproduction Path】tiup cdc cli changefeed create --sink-uri=‘kafka://172.21.0.9:9092/test?kafka-version=2.6.0&partition-num=1&max-message-bytes=67108864&replication-factor=1&protocol=canal-json’ --changefeed-id=“replication-task-2” --server=http://172.21.0.9:8300
【Problem Phenomenon and Impact】
Error: [CDC:ErrKafkaNewSaramaProducer]new sarama producer: dial tcp: lookup VM-0-9-centos on 183.60.83.19:53: no such host