Zanglei06 commented on issue #2732:
URL: https://github.com/apache/rocketmq/issues/2732#issuecomment-800091461


   > When a new consumer sends a heartbeat to a broker, the broker will notify 
all consumers of the related group to do rebalance. If there are multiple 
brokers, a consumer will receive multiple notifications.
   > 
   > In the rebalance process, the consumer selects a broker randomly to look 
up the consumer list. If the consumer did not send any heartbeat to the broker 
at the time, the returned list is incorrect.
   
   yes, and incorrect consumer list should not result in lost msgs since it 
will be corrected anyway.  My major confusion is the first question, why one 
messageQueue is  processed(Pull Task) by two pull threads(suggested  by 
rocketmq-client log).  Do you have any ideas?


----------------------------------------------------------------
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:
[email protected]


Reply via email to