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
Assignees
Labels
Milestone

Comments

@rajanmodi30
Copy link

@rajanmodi30 rajanmodi30 commented Sep 17, 2019

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 the Support label Sep 18, 2019
@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

This comment has been minimized.

Copy link
Member

@HJianBo 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

This comment has been minimized.

Copy link
Collaborator

@turtleDeng turtleDeng commented Oct 29, 2019

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

@turtleDeng turtleDeng closed this Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.