Skip to content
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

Delay in subscribing persistent messages with clean_session=False #2519

Open
anudeep010291 opened this issue Apr 25, 2022 · 0 comments
Open

Comments

@anudeep010291
Copy link

anudeep010291 commented Apr 25, 2022

Mosquitto version : 1.6.4
MQTT protocol : v3.1
Environment : Ubuntu 18.04.6 LTS

There has been a delay in subscribing the messages that were received when the subscriber is down. The clean session is set to False in order to persist the messages and the following scenario has been tested.

The publisher publishes 100 messages every 15 sec to a particular topic during which the subscriber listening to the same topic has been down for ~15 minutes. After the subscriber is up it takes around 10 to 15 minutes to receive all the messages that were persisted in those 15 minutes it was down and then starts getting the live messages. Can any one help me out why this delay has been happening ?

Please do let me know if any details are required.

@SURAJTHEGREAT For your reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants