rocketmq-client-cpp icon indicating copy to clipboard operation
rocketmq-client-cpp copied to clipboard

Something wrong when run "bin/SyncProducer" in two or more threads(specified by -T)

Open dongbula opened this issue 5 years ago • 2 comments

BUG REPORT The running result will be like(both master an release 2.2):

./SyncProducer -n XX -g XX -t XX -i XX -T 2
nameserver: XX
topic: XX
groupname: XX
produce content: msgbody for test
msg  count: 1
thread count: 2
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file </root/rocketmq-client-cpp/src/producer/DefaultMQProducerImpl.cpp> line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file </root/rocketmq-client-cpp/src/producer/DefaultMQProducerImpl.cpp> line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file </root/rocketmq-client-cpp/src/producer/DefaultMQProducerImpl.cpp> line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file </root/rocketmq-client-cpp/src/producer/DefaultMQProducerImpl.cpp> line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file </root/rocketmq-client-cpp/src/producer/DefaultMQProducerImpl.cpp> line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file </root/rocketmq-client-cpp/src/producer/DefaultMQProducerImpl.cpp> line:434
per msg time: 56ms
========================finished==============================
tps: 3

dongbula avatar Jul 29 '20 06:07 dongbula

Hi @ShannonDing @jonnxu @githublaohu @duhenglucky please help to see this issue.

zongtanghu avatar Jul 29 '20 08:07 zongtanghu

link #346

ifplusor avatar Feb 05 '21 07:02 ifplusor