You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2016/04/08 17:01:25 UTC
[jira] [Commented] (AMQ-6234) Cannot configure the load balancing
count when using Message Groups
[ https://issues.apache.org/jira/browse/AMQ-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232296#comment-15232296 ]
Gary Tully commented on AMQ-6234:
---------------------------------
peek at this test: https://github.com/apache/activemq/blob/e2b4ca2c59a316be91cf391c758a10e518dd3a1f/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/MessageGroupReconnectDistributionTest.java
the key is to configure consumerPriority
> Cannot configure the load balancing count when using Message Groups
> -------------------------------------------------------------------
>
> Key: AMQ-6234
> URL: https://issues.apache.org/jira/browse/AMQ-6234
> Project: ActiveMQ
> Issue Type: New Feature
> Components: Documentation
> Affects Versions: 5.10.0
> Environment: Centos 6.7; Oracle Java 1.6.0_30
> Reporter: I McClure
> Labels: messagegroups
>
> We are seeing ActiveMQ configure the first 10 messages with different JMSXGroupID values to the same consuming node before distributing subsequent messages across the attached consumers.
> We need to be able to configure this value down to 1 to allow us to evenly balance the load across the consumers in a round robin fashion.
> But we cannot see from the documentation how to configure this property.
> For example:
> 1 AMQ broker with a queue that has 3 attached consumers.
> Sending a message with a JMSXGroupID of 'A' goes to consumer 1
> The next 9 messages with different JMSXGroupIDs also go to consumer 1
> The 11th message with a different JMSXGroupdID goes to consumer 2
> This results in an unevenly balanced cluster of consumers when utilising Message Groups.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)