Search code examples
node.jsrabbitmqnode-amqplibrabbitmq-stream

Is it possible to read one rabbitmq stream message with a single service instance?


Is it possible to read stream messages one by one with a replicated consumer? If yes, how to do it? My situation is: I have one service-consumer with 3 replications. I want it to read stream messages as like from queue, when one message is processed only by a single instance(replication). I found that we can set a consumer name, but don't know how to do it in node.js-amqplib library. Also don't know will it help or not.


Solution

  • Currently it is not possible depending on official documentation. And didn't find any addons.