I am using spring boot 3 with spring data redis with functionality like this example example . My solution is deployed in kubernetes cluster in multi pods configuration. I am producing a message from 1 pod and consuming on another pod. (I mean I want to have this behaviour 1 producer will produce message and only 1 will consume the message and delete it) However, I want only one pod to consume the message but right now I can see all pods are consuming same message at same time. How do I restrict this behaviour?
I want only one pod to consume the message but right now I can see all pods are consuming same message at same time. How do I restrict this behaviour?