You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Piotr Bzdyl (JIRA)" <ji...@apache.org> on 2009/08/05 14:56:36 UTC

[jira] Commented: (AMQ-2106) Allow broker to evenly distribute message groups among consumers

    [ https://issues.apache.org/activemq/browse/AMQ-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53475#action_53475 ] 

Piotr Bzdyl commented on AMQ-2106:
----------------------------------

This looks great!

But the implementation would need to care to preserve message ordering. So before redistributing a group (because new consumers connected) should be made after the last message consumed from the group by the current consumer has been acknowledged. Otherwise, reassigning group to another consumer might cause the first message send to it to be processed before the last message sent to the previous consumer.

> Allow broker to evenly distribute message groups among consumers
> ----------------------------------------------------------------
>
>                 Key: AMQ-2106
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2106
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 5.2.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>
> Currently the broker will not reassign message groups if new consumers becomes available (or existing ones are removed). We could allow the broker to try reassign the message groups when consumers are added/removed so that we have a even distribution among consumers. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.