[ 
https://issues.apache.org/jira/browse/ARTEMIS-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17330887#comment-17330887
 ] 

Justin Bertram commented on ARTEMIS-3265:
-----------------------------------------

Couple of questions...
# After you kill the consumer what is the message-count on the queue on the 
_other_ broker? Redistribution won't kick in until message-count on that queue 
is 0.
# Have you read the [design caveats for clustered message 
grouping|https://activemq.apache.org/components/artemis/documentation/latest/message-grouping.html#clustered-grouping]
 in the documentation?

> Message redistribution does not work when using message grouping
> ----------------------------------------------------------------
>
>                 Key: ARTEMIS-3265
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3265
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.17.0
>         Environment: {noformat}
> *no* further _formatting_ is done here{noformat}
>            Reporter: tontonflingueur005
>            Priority: Major
>         Attachments: broker.xml, broker.xml, test-producer.tar.gz
>
>
> I have set up a two nodes Artemis broker on my laptop computer. I have set up 
> message grouping and message redistribution.
> The two broker.xml files are joined to ticket, as well as the Spring Boot 
> application I am using to inject messages with groups.
> I use two instances of the regular artemis consumer to consume the messages 
> on each brokers. 
> Here are the commands I am using :
> To launch consumer on the first broker : 
>  
> {noformat}
> [user@hostname]tmp$ cd broker1/
> [user@hostname]broker1$ ./bin/artemis  consumer  --verbose  --message-count 
> 100000 --user admin --password XXXX
> {noformat}
> on the second broker : 
> {noformat}
> [user@hostname]tmp$ cd broker2/
> [user@hostname]broker2$ ./bin/artemis  consumer  --verbose  --message-count 
> 100000 --user admin --password XXXX
> {noformat}
>  
> And to inject message on the first broker (127.0.0.1:61616)
> {noformat}
> [user@hostname]tmp$ cd test-producer/
> [user@hostname]test-producer$ mvn test
> {noformat}
> If I halt one of the consumers, say on broker1, while it is receiving 
> message, all messages of the group it already has handled get stuck on the 
> broker.
> Admittedly asking for redistribution is somewhat contradictory with the group 
> concept, but is there a way to change this behavior ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to