Skip to content

Some QOS 1 messages are lost when published during a disconnection #621

Answered by bretambrose
gprpaes asked this question in Q&A
Discussion options

You must be logged in to vote

What values are you configuring for ack_timeout_sec and offline_queue_behavior?

My guess is that the messages are sent, no ack is received due to disconnect and no ack timeout is set, causing them to be eternally pending. There could be an argument that there should always be a timeout by default. Such a change would alter existing behavior, but I'm not able to come up with a way that the change would worsen client behavior, and, at least in this case, it would significantly improve the default experience.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gprpaes
Comment options

@gprpaes
Comment options

@bretambrose
Comment options

Answer selected by gprpaes
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