Hello guys,

I have a cluster of 2 Artemis brokers (2.17.0) without HA running in
kubernetes. They are configured with redistribution-delay=0 but when the
consumer dies and comes back it connects to the other Artemis node but
redistribution of left over messages from the previous Artemis node does
not happen.

The client connection is defined like this:
spring.artemis.broker-url=
(tcp://activemq-artemis-master-0.activemq-artemis-master.n-stack-nle.svc.cluster.local:61616,tcp://activemq-artemis-master-1.activemq-artemis-master.n-stack-nle.svc.cluster.local:61616)

In my test, I sent 10 messages to the queue, then I killed the
consumer after it consumed the first 3. When kubernetes revived the
consumer, I saw it reconnected to the other Artemis pod (same queue name
created) but the queue was empty. The queue on the previous Artemis pod
still has 7 messages undelivered.

Is there a config I am missing?

Regards

Thai Le

Reply via email to