在用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
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
实时计算Flink版是阿里云提供的全托管Serverless Flink云服务,基于 Apache Flink 构建的企业级、高性能实时大数据处理系统。提供全托管版 Flink 集群和引擎,提高作业开发运维效率。