activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <>
Subject [jira] [Commented] (APLO-280) Clarification about message groups
Date Tue, 18 Dec 2012 07:02:12 GMT


Lionel Cons commented on APLO-280:

Let's imagine the following: two active consumers and six message groups evenly distributed.
Now comes a 3rd consumer. If you indeed rebalance the message groups, each consumer will get
messages from two groups. So some messages that were going to one of the two "old" consumers
will now go to the new one.

So rebalancing breaks the "all messages for the same message group will be sent to the same
consumer" rule.

If you imagine some permanent consumers and others that come and go frequently then the message
groups to consumers bindings will also change frequently.
> Clarification about message groups
> ----------------------------------
>                 Key: APLO-280
>                 URL:
>             Project: ActiveMQ Apollo
>          Issue Type: Improvement
>            Reporter: Lionel Cons
> First, there is a typo in the added doc as it contains "When you another subscription
to a queue".
> Then, it seems there is a contradiction between "ensures that all messages for the same
message group will be sent to the same consumer" and "the broker rebalances the message groups
across consumers".
> Apollo has no way to know if new messages for an already seen message group will continue
to come or not. So, by rebalancing, it may cause new messages of the same group to go to another
> IMHO, rebalancing can only happen safely when old consumers stop and only for their "attached"
message groups.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message