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

Suggestion for message retention (qos 1) #44

Open
OsvaldoTCF opened this issue May 29, 2023 · 2 comments
Open

Suggestion for message retention (qos 1) #44

OsvaldoTCF opened this issue May 29, 2023 · 2 comments

Comments

@OsvaldoTCF
Copy link

With the purpose of serving 6 esp32 that spend a lot of time in sleep mode, would you have a suggestion about retention and later delivery of messages in subscribed topics?
Text files?
Could you suggest how I can start implementing this code?

@nopnop2002
Copy link
Owner

nopnop2002 commented May 30, 2023

You can tell the broker to retain a message. However, it will at most retain 1 message per topic.

https://www.hivemq.com/blog/mqtt-essentials-part-8-retained-messages/

@GeckoNickDeveloper
Copy link

GeckoNickDeveloper commented May 30, 2023 via email

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

No branches or pull requests

3 participants