The problem is : after receiving messages at start, the subscribers do not receive live new messages pushed by the publisher. I need to restart them to have them receive the new messages. I want them to listen forever.
I had a look around iterations but unsuccessfully... What am I missing ?
Hello, I'm setting up a SNS/SQS like fan-out queuing system with NATS.
I setup my stream with its subject and two durable pull consumers.
My publisher is working and is pushing messages into my stream. This part is ok.
My 2 subscriber scripts connect to each consumer and get the messages of the stream when they start. This part is ok too.
The problem is : after receiving messages at start, the subscribers do not receive live new messages pushed by the publisher. I need to restart them to have them receive the new messages. I want them to listen forever.
I had a look around
iterations
but unsuccessfully... What am I missing ?Thanks for your help