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

multithread share Producer failed accidentally , error “ProducerSendSyncFailed: No route info of this topic”

Open lhy0726 opened this issue 4 years ago • 3 comments

original issue: https://ask.csdn.net/questions/4332269

error log info

(error): [7f0c4dffb700] no corresponding consumer found for group:TEST_TOPIC_PULL[consumerRunningInfo:1203] (error): [7f0ac37fe700] GetTransport of:172.20.0.232:30911 get timed_mutex timeout[CreateTransport:307] (error): [7f0ac37fe700] send failed of times:1,brokerName:broker0[sendDefaultImpl:424] (error): [7f0ac37fe700] could not find property mq[selectOneMessageQueue:156] (error): [7f0ac37fe700] GetTransport of:172.20.0.232:30911 get timed_mutex timeout[CreateTransport:307] (error): [7f0ac37fe700] send failed of times:3,brokerName:broker0[sendDefaultImpl:424] (error): [7f0ac37fe700] could not find property mq[selectOneMessageQueue:156] (error): [7f0ac37fe700] GetTransport of:172.20.0.232:30911 get timed_mutex timeout[CreateTransport:307] (error): [7f0ac37fe700] send failed of times:5,brokerName:broker0[sendDefaultImpl:424] (error): [7f0ac37fe700] msg: No route info of this topic: ScannerPocTask,error:-1,in file <src/producer/DefaultMQProducerImpl.cpp> line:434[send:137]

PS:in fact,the message has been sent successfully...

lhy0726 avatar Apr 09 '21 10:04 lhy0726

@lhy0726 You can use the version of the re_dev branch.

ifplusor avatar Apr 09 '21 10:04 ifplusor

@lhy0726 You can use the version of the re_dev branch.

thank you for reply. but how can i fix this in branch release2.2.0? I used branch release2.2 to rewrite PullComsumer of python-client version , it seems that there are so many differences about PULL mode between re_dev and release2.2.0.

lhy0726 avatar Apr 12 '21 09:04 lhy0726