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

max_queued_messages_set(size) #857

Open
Julz-afk opened this issue Aug 5, 2024 · 1 comment
Open

max_queued_messages_set(size) #857

Julz-afk opened this issue Aug 5, 2024 · 1 comment
Labels
Status: Available No one has claimed responsibility for resolving this issue. Type: Question A query or clarification.

Comments

@Julz-afk
Copy link

Julz-afk commented Aug 5, 2024

I am using python Paho client on my raspberrypi CM4 module. I have a question on the offline queue "mqtt_client.max_queued_messages_set(100)"

  1. Will this queue only start to fill up when the connection to the broker is "disconnected" ?
  2. When a message did not go through successfully to the broker will the message append to the queue for retry later ?
  3. Is there a way I can monitor this queue, I want to get the length and if power fails I want to dump to local storage before powering down?

I have verified, I am using the latest version of Paho-client, Python and Api version 2 in the paho client.

I checked forms but couldnt find anything at this stage, will continue my search but hope someone could assist me , or point me in the right direction.

@github-actions github-actions bot added the Status: Available No one has claimed responsibility for resolving this issue. label Aug 5, 2024
@MattBrittan
Copy link
Contributor

Question repeated on stack overflow.

@MattBrittan MattBrittan added the Type: Question A query or clarification. label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Available No one has claimed responsibility for resolving this issue. Type: Question A query or clarification.
Projects
None yet
Development

No branches or pull requests

2 participants