Skip to content

How to pause consuming for a while? #3594

Answered by bruth
AhmedAbouelkher asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @AhmedAbouelkher, the mental model for a consumer is that its a service embedded in the NATS server that keeps track of messages that are consumed (by subscribers). To pause consumption, you can simply unsubscribe/stop the processes that are doing the actual message processing. Once you start them again, consumption will resume.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bruth
Comment options

Answer selected by AhmedAbouelkher
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
4 participants