mosquitto-users team mailing list archive
-
mosquitto-users team
-
Mailing list archive
-
Message #00354
Re: Mosquitto Internal flush
Hello,
> Are there any other options or anything planned to be able to make a proper cleanup ?
It works as designed :)
If you want to completely wipe the retained database (and therewith lose
all retained publications) you can stop Mosquitto, rm its database, and
restart it. (Not recommended.)
Otherwise, you can wipe an individual retained topic by publishing a
NULL payload to that topic. mosquitto_pub has an option for doing that:
mosquitto_pub -t topic -n -r
Hope that helps,
-JP
Follow ups
References