【 TiDB 版本】TiDB v6.1.1
【遇到的问题】使用 tiup ctl 创建cdc changefeed失败,下游是kafka
[CDC:ErrKafkaNewSaramaProducer]new sarama producer: dial tcp: lookup kafka03 on [::1]:53: read udp [::1]:35071->[::1]:53: read: connection refused
【复现路径】
tiup ctl:v6.1.1 cdc changefeed create --pd=“http://172.22.21.4:2379” --sink-uri=“kafka://172.21.91.1:9092,172.21.91.2:9092,172.21.91.3:9092/tidb-default-topic?protocol=canal-json&kafka-version=2.2.1&partition-num=3&replication-factor=1&max-message-bytes=104857600&auto-create-topic=true” --changefeed-id=“kafka-changefeed” --config changefeed.toml
【问题现象及影响】
报错:
[CDC:ErrKafkaNewSaramaProducer]new sarama producer: dial tcp: lookup kafka03 on [::1]:53: read udp [::1]:35071->[::1]:53: read: connection refused
kafka03是kafka集群中一台机器的主机名