I continue testing the message group functionality but I am not sure if I am
missing something because I was not able to rebalance groups. I tried using
address-settings(default-group-rebalance), manually invoking resetAllGroups
and using "?group-rebalance=true".

Scenario:

Artemis 2.9.0 - 2 Nodes - Cluster UDP

Queue: State (LVQ: Yes, Durable: Yes, Rebalance: Yes)

Consumer 1 Broker 1
Consumer 2 Broker 2

Producer Send Message to Broker 1: Message (Content: 1, _AMQ_GROUP_ID: Same,
_AMQ_LVQ_NAME: Same)
Consumer 1 got: Message (Content: 1, _AMQ_GROUP_ID: Same, _AMQ_LVQ_NAME:
Same)
Consumer 1 waits 60 seconds
Producer Send Message to Broker 1: Message (Content: 2, _AMQ_GROUP_ID: Same,
_AMQ_LVQ_NAME: Same)
Producer Send Message to Broker 1: Message (Content: 3, _AMQ_GROUP_ID: Same,
_AMQ_LVQ_NAME: Same)
Consumer 1 got: Message (Content: 2, _AMQ_GROUP_ID: Same, _AMQ_LVQ_NAME:
Same)
Consumer 1 finish.
Consumer 2 finish (without consuming anything)

Consumer 2 Broker 2 --> It does not get any message, I was expecting group
to be rebalance and consumer messages in broker 2.

If I connect "Consumer 1 Broker 1" I got the remaining "Message (Content: 3,
_AMQ_GROUP_ID: Same, _AMQ_LVQ_NAME: Same)"

Is this the correct behavior and I am getting wrong the definition of
rebalance groups?

Thanks,
Luis




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to