activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Bzdyl (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2106) Allow broker to evenly distribute message groups among consumers
Date Wed, 05 Aug 2009 12:56:36 GMT

    [ 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.


Mime
View raw message