Retained MQTT messages are not cleared when MQTT is disabled, should they? #285
Unanswered
reef-actor
asked this question in
Q&A
Replies: 1 comment
-
Hi @reef-actor I would not expect retained messages to be cleared when MQTT is disabled on the camera. That would be a design of the MQTT that the broker retains the last message. https://www.hivemq.com/blog/mqtt-essentials-part-8-retained-messages/ What would be your concern with retaining and clearing? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
When MQTT is enabled there are some retained messages created such as motion_image, sound_detection etc.
When MQTT is disabled these are left in the broker. Would it make sense (is it good practice?) for these to be cleared from the broker?
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Retained messages are cleared.
Set Up Details (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions