开发者社区> 问答> 正文

配置了canal到kafka数据同步,启动canal-kafka后,报错

参照Canal Kafka QuickStart中的说明,配置了canal到kafka数据同步,启动canal-kafka后,报

2018-10-12 15:26:32.189 [destination = example , address = /192.168.206.136:3306 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /192.168.206.136:3306 has an error, retrying. caused by java.lang.IllegalArgumentException: null at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1310) ~[na:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1233) ~[na:1.7.0_79] at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:114) ~[na:1.7.0_79] at com.alibaba.otter.canal.parse.inbound.mysql.MysqlMultiStageCoprocessor.start(MysqlMultiStageCoprocessor.java:84) ~[canal.parse-1.1.0.jar:na] at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:238) ~[canal.parse-1.1.0.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79] 2018-10-12 15:26:32.189 [destination = example , address = /192.168.206.136:3306 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:example[java.lang.IllegalArgumentException at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1310) at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1233) at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:114) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlMultiStageCoprocessor.start(MysqlMultiStageCoprocessor.java:84) at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:238) at java.lang.Thread.run(Thread.java:745) ]

有没有遇到这个问题的?

使用环境:单机zookeeper-3.4.12,kafka_2.10-0.10.0.1,canal-kafka-1.1.0 ;

原提问者GitHub用户brightsong

展开
收起
Java工程师 2023-05-08 19:05:07 97 0
1 条回答
写回答
取消 提交回答
  • 此问题已经解决,将服务端配置文件canal.properties 中的并行线程数关掉即可,单例单线程运行

    原回答者GitHub用户shiyuan2he

    2023-05-09 19:05:08
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Java Spring Boot开发实战系列课程【第16讲】:Spring Boot 2.0 实战Apache Kafka百万级高并发消息中间件与原理解析 立即下载
MaxCompute技术公开课第四季 之 如何将Kafka数据同步至MaxCompute 立即下载
消息队列kafka介绍 立即下载