Skip to content

Does NATS support exponential backoff consumption retry? #6350

Answered by jnmoyne
penghuazhou asked this question in Q&A
Discussion options

You must be logged in to vote

If you do not ack the message (before the consumer's AckWait timeout happens) then you can specify a series of backoff times in the consumer's configuration (see 'Backoff' in https://docs.nats.io/nats-concepts/jetstream/consumers#general).

If you explicitly give up on processing the message using the 'nack' (negative ack) then you can specify the backoff period using nakWithDelay

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jnmoyne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants