Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to limit max subscriptions per user #2908

Closed
rajanmodi30 opened this issue Sep 17, 2019 · 2 comments
Closed

How to limit max subscriptions per user #2908

rajanmodi30 opened this issue Sep 17, 2019 · 2 comments
Assignees
Milestone

Comments

@rajanmodi30
Copy link

Environment

  • OS: Ubuntu 16.04
  • Erlang/OTP:
  • EMQ: 3.2.3

Description

I am trying to limit max subscriptions per user, l could find 'zone.external.max_subscriptions' in the emqx.conf file, however I cant figure out whether this is for a particular user or for all the users. How can I do it for user or mountpoint basis? Can I configure this parameter for a particular mountpoint or user? And how?

## Maximum number of subscriptions allowed, 0 means no limit.
##
## Value: Number
zone.external.max_subscriptions = 100
@turtleDeng turtleDeng added this to the 4.0-beta.1 milestone Sep 18, 2019
@HJianBo HJianBo modified the milestones: 4.0-beta.1, 3.3-alpha.1 Sep 18, 2019
@HJianBo HJianBo added the BUG label Sep 18, 2019
@HJianBo
Copy link
Member

HJianBo commented Sep 18, 2019

It only limits max count topics per user on the specified zone (i.g: external).

After reviewing codes, it not works on the current version (3.2.3). I'll try to fix it later

@turtleDeng
Copy link
Member

Thanks for your feedback, we have fixed it in v3.2.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants