airbaby opened a new issue #1945: topic队列数与consumer数量不能整除,负载均衡策略存在分配不均
URL: https://github.com/apache/rocketmq/issues/1945
 
 
   RebalanceImpl.rebalanceByTopic();
   
consumer的(clientId)消费费多个topic队列时,存在排序靠前的ClientId可能消费队列较多(负载大),是否Collections.sort()可以采用shuffle()方式,确保可以随机平均;

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


With regards,
Apache Git Services

Reply via email to