Debezium报错处理系列六:A slave with the same server

Debezium报错处理系列六:A slave with the same server,第1张

Debezium报错处理系列六:A slave with the same server

Debezium报错处理系列六:A slave with the same server_uuid/server_id as this slave has connected to the master
  • 一、debezium报错
  • 二、报错产生原因
  • 三、报错解决方法
  • 四、修改配置重启connector

一、debezium报错
  • Caused by: io.debezium.DebeziumException: A slave with the same server_uuid/server_id as this slave has connected to the master; the first event ‘mysql3306.001798’ at 156, the last event read from ‘/data/mysql3306/log/mysql3306.001798’ at 125, the last byte read from ‘/data/mysql3306/log/mysql3306.001798’ at 156. Error code: 1236;
二、报错产生原因
  • “database.server.id”: “1030131”,
  • connector有重复的server_id,需要保证每个connector对应唯一的server_id
  • database.server.id有重复会导致原来使用这个server_id的connector报错
三、报错解决方法
  • 修改报错conn

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5695068.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存