You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] I have searched the issues of this repository and believe that this is not a duplicate.
[ x] I have checked the FAQ of this repository and believe that this is not a duplicate.
environment
canal version canal-1.1.8
mysql version
Issue Description
I want to automatically get the number of queues for a topic, so I set canal.mq.enableDynamicQueuePartition=true, but when receiving the binlog, a NullPointerException is generated when sending a message
Steps to reproduce
just set canal.mq.enableDynamicQueuePartition=true in instance.properties, don't set canal.mq.partitionsNum
Expected behaviour
Automatically obtain the number of queues corresponding to the topic
Actual behaviour
NullPointerException is thrown continuously
java.lang.NullPointerException: null
at com.alibaba.otter.canal.connector.rocketmq.producer.CanalRocketMQProducer.send(CanalRocketMQProducer.java:242)
at com.alibaba.otter.canal.connector.rocketmq.producer.CanalRocketMQProducer.send(CanalRocketMQProducer.java:173)
at com.alibaba.otter.canal.connector.core.spi.ProxyCanalMQProducer.send(ProxyCanalMQProducer.java:51)
The text was updated successfully, but these errors were encountered:
elegance
added a commit
to elegance/canal
that referenced
this issue
Mar 10, 2025
environment
Issue Description
I want to automatically get the number of queues for a topic, so I set
canal.mq.enableDynamicQueuePartition=true
, but when receiving the binlog, a NullPointerException is generated when sending a messageSteps to reproduce
just set
canal.mq.enableDynamicQueuePartition=true
in instance.properties, don't setcanal.mq.partitionsNum
Expected behaviour
Automatically obtain the number of queues corresponding to the topic
Actual behaviour
NullPointerException is thrown continuously
The text was updated successfully, but these errors were encountered: