【问题解决】canal启动报错 can‘t find start position for example
报错信息如下
ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address 172.16.0.20:3306 has an error, retrying. caused by
com.alibaba.otter.canal.parse.exception.PositionNotFoundException: can’t find start position for example
原因
meta.dat 中保存的位点信息和数据库的位点信息不一致;导致canal抓取不到数据库的动作;
解决方案
单机
删除meta.dat文件,重启canal,问题解决;
集群
进入canal对应的zookeeper集群下,删除节点/otter/canal/destinations/xxxxx/1001/cursor ;重启canal即可恢复;
https://blog.csdn.net/weixin_42170236/article/details/114662486
个人学习笔记,记录日常学习,便于查阅及加深,仅为方便个人使用。