Doesn't NakWithDelay reduce the MaxAckPending counter and block the execution of other messages? #4972
Unanswered
AlexandrTQ
asked this question in
Q&A
Replies: 2 comments 10 replies
-
Any messages that was once delivered and had to be retried is pending, its an important constraint as max pending is used to manage ordering to name but one case. So this is working as designed, there's no alternative today |
Beta Was this translation helpful? Give feedback.
10 replies
-
@ripienaar let's you and I discuss at some point and see if it makes sense. I agree about ordering but with NAK that has already been violated to some degree based on the observer. |
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
-
Let's say I set MaxAckPending to 10.
Then I used msg.NakWithDelay(time.Minute) ten times and it stopped working. That is, while the message is in the NakWithDelay status, the MaxAckPending counter takes it into account.
I would like to have the behavior that while the message is in the NakWithDelay status, it does not block the queue. While these messages are waiting for a timeout, others are being executed. How can I do this?
Example code:
Beta Was this translation helpful? Give feedback.
All reactions