mosquitto-users team mailing list archive
-
mosquitto-users team
-
Mailing list archive
-
Message #00339
Re: Removal of old topics
Publish a blank (empty) durable message to that topic to clear it.
Not sure on the other two questions...
On Tue, Nov 19, 2013 at 8:01 AM, Daniel Arenhage
<daniel.arenhage@xxxxxxxxx>wrote:
> 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
>
> --
> Mailing list: https://launchpad.net/~mosquitto-users
> Post to : mosquitto-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mosquitto-users
> More help : https://help.launchpad.net/ListHelp
>
>
--
Andy Piper | Kingston upon Thames, London (UK)
blog: http://andypiper.co.uk | skype: andypiperuk
twitter: @andypiper | images: http://www.flickr.com/photos/andypiper
References