开发者社区> 问答> 正文

我插入一条数据 canal的log报了如下错

com.alibaba.otter.canal.meta.exception.CanalMetaManagerException: batchId:88 is not the firstly:29 2018-12-06 16:04:33.127 [pool-5-thread-1] ERROR com.alibaba.otter.canal.server.CanalMQStarter - batchId:89 is not the firstly:29 com.alibaba.otter.canal.meta.exception.CanalMetaManagerException: batchId:89 is not the firstly:29 2018-12-06 16:04:33.127 [pool-5-thread-1] ERROR com.alibaba.otter.canal.server.CanalMQStarter - batchId:89 is not the firstly:29 com.alibaba.otter.canal.meta.exception.CanalMetaManagerException: batchId:89 is not the firstly:29 2018-12-06 16:04:39.234 [pool-5-thread-1] ERROR com.alibaba.otter.canal.server.CanalMQStarter - batchId:90 is not the firstly:29 com.alibaba.otter.canal.meta.exception.CanalMetaManagerException: batchId:90 is not the firstly:29 2018-12-06 16:04:39.234 [pool-5-thread-1] ERROR com.alibaba.otter.canal.server.CanalMQStarter - batchId:90 is not the firstly:29 com.alibaba.otter.canal.meta.exception.CanalMetaManagerException: batchId:90 is not the firstly:29 2018-12-06 16:04:45.141 [pool-5-thread-1] ERROR com.alibaba.otter.canal.server.CanalMQStarter - batchId:91 is not the firstly:29 com.alibaba.otter.canal.meta.exception.CanalMetaManagerException: batchId:91 is not the firstly:29 2018-12-06 16:04:45.141 [pool-5-thread-1] ERROR com.alibaba.otter.canal.server.CanalMQStarter - batchId:91 is not the firstly:29 com.alibaba.otter.canal.meta.exception.CanalMetaManagerException: batchId:91 is not the firstly:29

原提问者GitHub用户ZSH9053

展开
收起
古拉古拉 2023-05-08 16:55:52 140 0
1 条回答
写回答
取消 提交回答
  • 多个客户端之间是否无序消费了?binlog本身是顺序的,要求get和ack的batchId顺序是一致的。多个client需要使用cluster模式才行,否则两个client分别做了get操作,但对应的ack顺序又不一致就会报错了

    原回答者GitHub用户agapple

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

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载