-
Notifications
You must be signed in to change notification settings - Fork 792
Description
Observed behavior
Hi all,
We are observing an inconsistent issue while migrating from core NATS pub/sub to JetStream pub/sub.
In a 3-node NATS cluster, some JetStream consumers are created successfully but never process messages. These consumers appear active, no JS client errors are reported, but in their state Last Delivery: never and Unprocessed messages accumulate.
Expected behavior
All consumers pull messages from the stream 100% of the time they are brought up.
Server and client version
v0.3.1
Host environment
No response
Steps to reproduce
This behavior is reproducible when scaling NATS dynamically, but not 100% of the time. Reproducibility increases with higher numbers of publishers and consumers. In our testing, the same workload on a statically configured 3-node cluster does not show this behavior.
Please see this repository for full reproduction steps, logs, and sample code: https://github.com/irinafratila/nats-jetstream