Skip to content

clients management #742

Discussion options

You must be logged in to vote

You could build a generic one by just using aedes-persistence methods. For example in order to get all subscriptions you could call subscriptionsByTopic method with '#'.

In order to force a client disconnection you should use the subscription client id to get the client instance from aedes broker and call the close method.

Let me know if you build it we could add it to moscajs org if it is an OSS project :)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@robertsLando
Comment options

Answer selected by Gianluca-Casagrande-Stiga
Comment options

You must be logged in to vote
1 reply
@robertsLando
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants