You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/04/24 07:07:27 UTC
[GitHub] [rocketmq-client-go] appendHan opened a new issue #46: go-process
abort when no topic in MQ-Cluster
appendHan opened a new issue #46: go-process abort when no topic in MQ-Cluster
URL: https://github.com/apache/rocketmq-client-go/issues/46
When the MQ-cluster does not have any topics, call the SendMessageSync method will cause the GO-program to directly interrupt the exit.
stderr like this:
terminate called after throwing an instance of 'rocketmq::MQException'
what():msg:No route info of this topic,,error:in file </home/jonnxu/git/rocketmq-client-cpp/src/producer/DefaultMQProducer.cpp> line:319
terminate called recursively
SIGABRT:abort
PC=xxxxx
Can you catch that Exception to error, don't let the go-program exit directly?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services