How to get topic statistics?

Asked by Benjamin

Hi,

I'm looking for a way to get statistics about a topic: number of subscribers and so on.

My objectives are:
- Show stats to website and admin users. Charge according to the number of subscribers on a topic.
- In the future, in order to be able to handle a large number of subscribers and to overcome the 1024 (or 4096) limitation per topic, that would be a way to split topics into sub-topics (not sure if this is doable).

Anyway, I'm looking for a way to get stats about a topic, and not only about $SYS. I previously used Meteor/Deacon which was able to get such information, I hope this is doable with Mosquitto too.

Thanks,

Question information

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

Sorry for the delay in responding.

There is currently no way to determine topic statistics. If this is something that is done in the future it would probably be done outside of the normal topic space.

There is no 1024 or 4096 limit on number of subscribers per topic. The limit you might be thinking of is the number of sockets that the operating system imposes (but that can be raised).

Can you help with this problem?

Provide an answer of your own, or ask Benjamin for more information if necessary.

To post a message you must log in.