在用FlinkCDC的时候有遇到过这个报错吗?

在用FlinkCDC的时候有遇到过这个报错吗? ERROR io.debezium.connector.mysql.MySqlStreamingChangeEventSource [1268 ] Error during binlog processing. Last offset stored = null, binlog reader near position = mysql-bin.000351/194 FLink> 2023-03-10/18:45:33:589 [blc-rm-2zeh0xq0m99rg0zw0.mysql.rds.aliyuncs.com:3306] ERROR io.debezium.pipeline.ErrorHandler [31 ] Producer failure io.debezium.DebeziumException: A slave with the same server_uuid/server_id as this slave has connected to the master; the first event '' at 4, the last event read from '/home/mysql/log/mysql/mysql-bin.000351' at 1341674, the last byte read from '/home/mysql/log/mysql/mysql-bin.000351' at 1341674. Error code: 1236; SQLSTATE: HY000. at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.wrap(MySqlStreamingChangeEventSource.java:1383) ~[flink-connector-mysql-cdc-2.3.0.jar:1.6.4.Final] at io.debezium.connector.mysql.MySqlStreamingChangeEventSource$ReaderThreadLifecycleListener.onCommunicationFailure(MySqlStreamingChangeEventSource.java:1439) [flink-connector-mysql-cdc-2.3.0.jar:1.6.4.Final] at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:980) [mysql-binlog-connector-java-0.25.3.jar:0.25.3] at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:599) [mysql-binlog-connector-java-0.25.3.jar:0.25.3] at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:857) [mysql-binlog-connector-java-0.25.3.jar:0.25.3] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: com.github.shyiko.mysql.binlog.network.ServerException: A slave with the same server_uuid/server_id as this slave has connected to the master; the first event '' at 4, the last event read from '/home/mysql/log/mysql/mysql-bin.000351' at 1341674, the last byte read from '/home/mysql/log/mysql/mysql-bin.000351' at 1341674. at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:944) ~[mysql-binlog-connector-java-0.25.3.jar:0.25.3] ... 3 more

展开
收起
wenti 2023-03-13 14:17:58 529 分享 版权
1 条回答
写回答
取消 提交回答
  • server-id被别的用了——该回答整理自钉群“Flink CDC 社区”

    2023-03-13 22:37:51
    赞同 展开评论

实时计算Flink版是阿里云提供的全托管Serverless Flink云服务,基于 Apache Flink 构建的企业级、高性能实时大数据处理系统。提供全托管版 Flink 集群和引擎,提高作业开发运维效率。

收录在圈子:
实时计算 Flink 版(Alibaba Cloud Realtime Compute for Apache Flink,Powered by Ververica)是阿里云基于 Apache Flink 构建的企业级、高性能实时大数据处理系统,由 Apache Flink 创始团队官方出品,拥有全球统一商业化品牌,完全兼容开源 Flink API,提供丰富的企业级增值功能。
还有其他疑问?
咨询AI助理