[ https://issues.apache.org/jira/browse/ROCKETMQ-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaskey Lam updated ROCKETMQ-214: -------------------------------- Summary: Improvement to help client to switch balance strategy smoothly (was: Improvement to help client to switch balance strategy ) > Improvement to help client to switch balance strategy smoothly > -------------------------------------------------------------- > > Key: ROCKETMQ-214 > URL: https://issues.apache.org/jira/browse/ROCKETMQ-214 > Project: Apache RocketMQ > Issue Type: Improvement > Components: rocketmq-client > Reporter: Jaskey Lam > Assignee: Xiaorui Wang > > In current implementations, rocketmq consumer will allocate message queue in > client itself by fetching all clientid and all mq. > While when user hopes to switch balance strategy, some problem will be > suffered in the intermediate state before all client instance have been > change to the same new strategy. > Say there are there clients with Strategy `AllocateMessageQueueAveragely`, > when users needs to use their own `AllocateMessageQueueStrategy`, and they > upgrade the client1 , and some mq will be missing to allocate or some mq > allocate to multiple client instances, which will result in message > duplication or message accumulation that fail to be consumed -- This message was sent by Atlassian JIRA (v6.3.15#6346)