开发者社区> 问答> 正文

客户端连接报错 Error handling event ZkEvent[

[20 16:22:01,853 ERROR] [] [ZkClient-EventThread-67-zookeeper.dev.vivo.xyz:2183] org.I0Itec.zkclient.ZkEventThread- Error handling event ZkEvent[Data of /otter/canal/destinations/bdsp8/1001/running changed sent to com.alibaba.otter.canal.client.impl.running.ClientRunningMonitor$1@54930f4c] com.alibaba.otter.canal.protocol.exception.CanalClientException: something goes wrong in initRunning method. at com.alibaba.otter.canal.client.impl.running.ClientRunningMonitor.initRunning(ClientRunningMonitor.java:146) at com.alibaba.otter.canal.client.impl.running.ClientRunningMonitor$1.handleDataDeleted(ClientRunningMonitor.java:71) at org.I0Itec.zkclient.ZkClient$9.run(ZkClient.java:825) at org.I0Itec.zkclient.ZkEventThread.run(ZkEventThread.java:72) Caused by: java.lang.NoSuchMethodError: com.alibaba.otter.canal.protocol.CanalPacket$Handshake.getSupportedCompressionsList()Ljava/util/List; at com.alibaba.otter.canal.client.impl.SimpleCanalConnector.doConnect(SimpleCanalConnector.java:162) at com.alibaba.otter.canal.client.impl.SimpleCanalConnector.access$000(SimpleCanalConnector.java:51) at com.alibaba.otter.canal.client.impl.SimpleCanalConnector$1.processActiveEnter(SimpleCanalConnector.java:449) at com.alibaba.otter.canal.client.impl.running.ClientRunningMonitor.processActiveEnter(ClientRunningMonitor.java:211) at com.alibaba.otter.canal.client.impl.running.ClientRunningMonitor.initRunning(ClientRunningMonitor.java:122) ... 3 more

版本号是1.1.0

原提问者GitHub用户jianghaibolxy

展开
收起
Java工程师 2023-05-08 17:45:34 123 0
1 条回答
写回答
取消 提交回答
  • Caused by: java.lang.NoSuchMethodError: com.alibaba.otter.canal.protocol.CanalPacket$Handshake.getSupportedCompressionsList()Ljava/util/List;

    client的protobuf和你自己业务的有冲突吧,先检查这个

    原回答者GitHub用户agapple

    2023-05-09 18:43:35
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载