You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.
Client sends an empty message using the same topic of the retained message
should clean retain, but I've tried this with node-red and mqttfx as clients, but it doesn't work.
Workarounds
Only way to remove the retain flag from a topic is to restart the EMQ docker container(s), but this is most probably working since I have persistence not working ...
Please advise.
Regards,
Ray
The text was updated successfully, but these errors were encountered:
A PUBLISH Packet with a RETAIN flag set to 1 and a payload containing zero bytes will be processed as normal by the Server and sent to Clients with a subscription matching the topic name.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Make sure you read and understand https://developer.emqx.io/docs/emq/v3/en/index.html.
Use one of the two templates below and delete the rest.
remove retain flag from specific topic
Justification
Not sure if it's a bug or a missing feature, but I can't seem to find a way to remove a retain flag from a topic.
Test scenario:
Also read this https://medium.com/@emqtt/mqtt-in-a-nutshell-2040b244aa4b, but unfortunately it doesn't explain how to remove the retain flag.
As per https://emqx-enterprise-docs-en.readthedocs.io/en/latest/mqtt.html ...
Workarounds
Only way to remove the retain flag from a topic is to restart the EMQ docker container(s), but this is most probably working since I have persistence not working ...
Please advise.
Regards,
Ray
The text was updated successfully, but these errors were encountered: