Replies: 1 comment
-
The best way would be to use a durable consumer, drain the subscription when you are ready to pause, then re-subscribe with the durable to continue where you left off. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We can pause connection using
io.nats.streaming.Subscription.close(false);
how can we do it usingio.nats.client.Subscription
and dispatcher in 2.9 lib?Beta Was this translation helpful? Give feedback.
All reactions