You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "Jaskey Lam (JIRA)" <ji...@apache.org> on 2017/06/05 06:33:04 UTC
[jira] [Created] (ROCKETMQ-214) Improvement to help client to
switch balance strategy
Jaskey Lam created ROCKETMQ-214:
-----------------------------------
Summary: Improvement to help client to switch balance strategy
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)