我是直接extends MysqlEventParser
/** * 查询当前的binlog位置 * @param mysqlConnection * @return */ private EntryPosition findEndPosition(MysqlConnection mysqlConnection) { try { // ... EntryPosition endPosition = new EntryPosition( "my-bin.000001", Long.valueOf(1L));
return endPosition;
运行直接报错
18:06:43.222 [destination = example , address = /117.107.241.79:3306 , EventParser] INFO c.a.o.c.p.d.mysql.MysqlConnector - KILL DUMP 1110 failure java.io.IOException: ErrorPacket [errorNumber=1094, fieldCount=-1, message=Unknown thread id: 1110, sqlState=HY000, sqlStateMarker=#] with command: KILL CONNECTION 1110 at com.alibaba.otter.canal.parse.driver.mysql.MysqlUpdateExecutor.update(MysqlUpdateExecutor.java:49) ~[classes/:na] at com.alibaba.otter.canal.parse.driver.mysql.MysqlConnector.disconnect(MysqlConnector.java:107) ~[classes/:na] at com.alibaba.otter.canal.parse.inbound.mysql.MysqlConnection.disconnect(MysqlConnection.java:93) [classes/:na] at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:309) [classes/:na]
原提问者GitHub用户ggservice007
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。