Relative Content

Tag Archive for publish-subscribe

Redis pubsub handling via cluster – processing only once

I am publishing the message in the AWS Elasticache cluster.
And there is a subscriber who is listening to the channel. However, the subscriber runs in JBoss cluster.
So if there are three servers in a cluster then there are three listeners and they all will process the message.
How to avoid this situation and only process messages once?