Skip to content

Why are messages lost? #1544

Answered by JaylinYu
liwashington asked this question in Q&A
Nov 24, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Nano drops msg if the in-flight queue is full. In your case, Most likely is the subscribe client not able to handle same msg volume/velocity as the Publishing rate. It has nothing to do with QoS, and ack will failed if Other side(your sUB client) is not able to send ACK in time, So that previous packet id is overwrite by new coming msg

In this case, suggest you extend “max_mqueue_len”, by default it is 2048, you can have 65535 if you don't care memory usage.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@liwashington
Comment options

@JaylinYu
Comment options

@JaylinYu
Comment options

@liwashington
Comment options

@JaylinYu
Comment options

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