I would like to ask about any kind of mechanism that can handle Redis Share Subscription that is something much less like this https://www.emqx.io/blog/introduction-to-mqtt5-protocol-shared-subscription.
So now I had setup my Redis in docker environment. My application is running using NodeJs. As you might know, in docker environment I used replication mode for the app to cather high availibility.
Somehow this may cause a problem when the app replicated to two as redis subscription will be duplicated. So this problem caused Redis onMessage event triggered twice. So I believe I need to handle that multiple subscriber to only accept only once triggered event.
Can someone who are facing this same problem share some thought. Thanks!
2.1m questions
2.1m answers
60 comments
57.0k users