mqtt-cli icon indicating copy to clipboard operation
mqtt-cli copied to clipboard

Allow publish with empty payload to delete a retained message

Open ridomin opened this issue 3 years ago • 0 comments

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>)

ridomin avatar May 13 '22 03:05 ridomin