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

Allow publish with empty payload to delete a retained message #301

Closed
ridomin opened this issue May 13, 2022 · 0 comments · Fixed by #309
Closed

Allow publish with empty payload to delete a retained message #301

ridomin opened this issue May 13, 2022 · 0 comments · Fixed by #309
Labels
bug Something isn't working

Comments

@ridomin
Copy link

ridomin commented May 13, 2022

Delete a retained message

Reading in https://www.hivemq.com/blog/mqtt-essentials-part-8-retained-messages/ the only way to delete a retained message is by publishing another message to the same topic with an empty payload.

When running pub -t topic -m "" I got

Missing required parameter for option '--message' (<message>)

@gitseti gitseti added the bug Something isn't working label May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants