how to count the total number of a topic and make the specific client disconnected

Asked by bearcount

Hi ,everyone:

       Now I have seen the total number of the topics subscribed or published only through subscribing the topic "$SYS/#".I would like to know other ways to get the total number of the topic subscribed or published .In addition, how do I count the total number of a topic and make the specific subscription client disconnected.

      Thanks in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
Roger Light
Solved:
Last query:
Last reply:
Revision history for this message
Best Roger Light (roger.light) said :
#1

You can only get the total number of subscribed topics through $SYS as you say.

It's not currently possible to do any of the other things you want I'm afraid.

On Fri, May 3, 2013 at 9:56 AM, bearcount
<email address hidden> wrote:
> New question #228076 on mosquitto:
> https://answers.launchpad.net/mosquitto/+question/228076
>
> Hi ,everyone:
>
> Now I have seen the total number of the topics subscribed or published only through subscribing the topic "$SYS/#".I would like to know other ways to get the total number of the topic subscribed or published .In addition, how do I count the total number of a topic and make the specific subscription client disconnected.
>
> Thanks in advance!
>
> --
> You received this question notification because you are a member of
> Mosquitto PPA, which is an answer contact for mosquitto.

Revision history for this message
Roger Light (roger.light) said :
#2

You can only get the total number of subscribed topics through $SYS as you say.

It's not currently possible to do any of the other things you want I'm afraid.

On Fri, May 3, 2013 at 9:56 AM, bearcount
<email address hidden> wrote:
> New question #228076 on mosquitto:
> https://answers.launchpad.net/mosquitto/+question/228076
>
> Hi ,everyone:
>
> Now I have seen the total number of the topics subscribed or published only through subscribing the topic "$SYS/#".I would like to know other ways to get the total number of the topic subscribed or published .In addition, how do I count the total number of a topic and make the specific subscription client disconnected.
>
> Thanks in advance!
>
> --
> You received this question notification because you are a member of
> Mosquitto PPA, which is an answer contact for mosquitto.

Revision history for this message
bearcount (xgp1127) said :
#3

Thanks Roger Light, that solved my question.