← Back to team overview

mosquitto-users team mailing list archive

Removing a retained message from the broker

 

Hello,

I am wondering how to remove a retained message from the mosquitto server. When I publish a message with the 'retain'-bit set it looks like this message will be on the topic forever. Even reconnecting with the 'clean session' bit set or publishing a not-retained message to the topic doesn't help. The only thing I can do is changing the message by publishing a new retained message.

Maybe I am missing something here. Is there a way to remove that message completely or is this a bug?

Thanks,
Nicolas



Follow ups