Hi @Lachezar Dobrev It seems that you're using a Shared
non-durable subscriptions, can you try using Unshared non-durable subscriptions
instead?
Service Bus Topic subscriber scaling
Using a Topic in Service Bus via JMS+Spring.
The application uses @JmsListener to link to the topic.
I've created a non-durable, shared, pub-sub JmsListenerContainerFactory to use for that purpose.
The application works as expected when only one instance is deployed, but scaling the application ends up in every message to the topic being delivered to only one unpredictable subscriber instance, rather than all.
This turns the topic into what is effectively a queue, which is not expected.
How to configure the JMS topic/subscriber/listeners/factories/etc., so that multiple instances of the application would receive all the messages sent to/via the topic?
1 answer
Sort by: Most helpful
-
Mike Urnun 9,811 Reputation points Microsoft Employee
2020-10-09T04:41:58.597+00:00