Skip to content
Discussion options

You must be logged in to vote

Your client is becoming a slow consumers so the connection keeps getting reset. By default the server will allocate up to 64 MB of pending data to be flushed to a client but the collection of ordered consumers are instantly asking for much more than that so the server will close the connection since going over the quota.
It is possible to tweak this by changing the default from max_pending to something larger, for example I set max_pending = 512mib and your example now runs fine on my setup. Changing this default means that you would be allowing a single connection to hold up to 512MB, so if having multiple connections need to think about the worst case of multiple connections doing the s…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ramasauskas
Comment options

You must be logged in to vote
2 replies
@wallyqs
Comment options

wallyqs Dec 12, 2025
Collaborator

@wallyqs
Comment options

wallyqs Dec 12, 2025
Collaborator

Comment options

You must be logged in to vote
2 replies
@ramasauskas
Comment options

@derekcollison
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants