New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
max_queued_messages does not apply to bridge #1729
Comments
I suspect you are using Mosquitto 1.4.15, is that correct? The queuing behaviour did not apply to bridges a long while back but has since been fixed. The sawtooth pattern comes about because Mosquitto is incorrectly queuing messages for the disconnected bridge, then when it tries to reconnect those messages are cleared out. I've just pushed a change to the |
Hey ralight, thx for your time. I'm using mosquitto version 1.6.7, iI have set max_queued_messages 100 and clean session false for the bridge. My messages get queued infinitely. I don't have to establish a bridge connection for that. It happens even when no connection was established. I noticed in the log the message: Outgoing messages are being dropped for client local.DDC4000.69.ddc4ke-bridge. For me setting clean session to true fixes my issues, but seems still strange to me. |
I see, I will play around with the settings and report back if I find out why I have different behaviour |
You might also have some stale clients with subscriptions in your persistence db? it can very much skew things if you don't start from a clean point |
As stated above, if my bridge connection gets closed, messages are queued infinetly. Is this intentional behaviour?
The text was updated successfully, but these errors were encountered: