Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-214

Improvement to help client to switch balance strategy smoothly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: rocketmq-client
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vintagewang Xiaorui Wang
                Reporter:
                Jaskey Jaskey Lam
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: