0

I have read hivemq plugin development document, and could'nt find any solution.

I want to limit a user's subscription count. Any help?

HaveNoDisplayName
  • 8,291
  • 106
  • 37
  • 47
w3hacker
  • 271
  • 3
  • 7
  • How useful is limiting subscription count when wild cards can be used to match all topics? – hardillb Dec 27 '15 at 13:43
  • I think hivemq will load all subscription of a client from disk(file persistence) when the client connected, so I think if it has too many subscriptions will need more time to handle it. Isn't it? – w3hacker Dec 27 '15 at 13:49
  • Is it a problem? Anyway, you should develop you own plugin to count subscriptions and eventually don't allow them. – Alessandro Da Rugna Dec 28 '15 at 11:05
  • But if I deny subscription, It will kick user, not send puback with grant code 0x80 – w3hacker Dec 28 '15 at 11:32

1 Answers1

0

The question moved to https://groups.google.com/forum/#!topic/hivemq/R8FHHXfuawE

The author of hivemq answered me.

w3hacker
  • 271
  • 3
  • 7