mz0113 opened a new issue, #5672:
URL: https://github.com/apache/rocketmq/issues/5672

   prerequisite:
   1. **single** thread **sync** send message in one topic using while(true) 
with Infinite loop to send near 100000 messages
   2. **defaultMQProducer().setSendLatencyFaultEnable(true)**
   3. rocketmq-client v5.0.0 (actually 4.9.x has also this problem)
   4. this topic has 2 brokers , each broker has 24 queues can be sended. so 
,total 2*24 = 48 queues
   
   result:
   1.Uneven distribution of queue , Most(almost half) messages are distributed 
on queue 0
   
   **This is the sed result , i print them to console :** 
   
![0873dc90f5c1ee04007779749c29d23](https://user-images.githubusercontent.com/42512469/206608856-706dcba1-f0cb-496e-8e51-ed08b18b4eb0.png)
   
   **Code in red box  to find a  messagequeue to send , i think this is the 
problem **
   
![317239184f2724629b7532cd4c41fda](https://user-images.githubusercontent.com/42512469/206608954-b0f80830-de6d-496b-8fa2-100b00d8c23e.png)
   
   **There is a problem in this picture. I have marked it with a red line , why 
there is two [idc1-broker-b queueId=2] item?  but this is not a Seriously 
problem cause the unevent distribution ,i have restart my aplication many times 
and the duplicated messagqueue disapperd ,but still have unevent distribution 
result**
   
![348862157c15db800557e0807ef9e06](https://user-images.githubusercontent.com/42512469/206609317-bab16d63-028a-47cc-a243-1b84633c04b1.png)
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to