← Back to team overview

mosquitto-users team mailing list archive

Removal of old topics

 

Hello,

Basically my question is, is there a way to determine and remove old topics
having durable subscribers (clean session set to false)?

The configuration property :
http://mosquitto.org/man/mosquitto-conf-5.html
persistent_client_expiration

i interpret to clean up the durable (those with clean session set to
false)  subscriptions
to that topic. If no active subscriptions and the
persistent_client_expiration duration is fulfilled, will the potential
present messages on this topic be removed and will also this topic be
removed?

Also, if i connect to a topic having clean_session set to false, will this
topic be removed after the user drops his connection to it?

Thanks in advance!

Kind regards

Follow ups