apache / apache/rocketmq-client-cpp

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

Open
#325 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
393
Forks
167
PR merge metrics
No merged PRs in 30d

Description

**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 line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file line:434
send failed: Type: MQClientException , msg: No route info of this topic: XX,error:-1,in file line:434
per msg time: 56ms
========================finished==============================
tps: 3

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.