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

Subscription module will lose subscription once EMQX restarts #2595

sufish opened this issue Jun 3, 2019 · 1 comment


Copy link

@sufish sufish commented Jun 3, 2019


  • OS: MacOS 10.12.6
  • Erlang/OTP: 18
  • EMQ: 3.1.1


I configured subscription module with following config:

module.subscription = on
module.subscription.1.topic = test
module.subscription.1.qos = 1

it works, new mqtt client will be subscribed to topic "test" automatticaly.

then i restared emqx broker, the same mqtt client reconnected, but the client will not be subscribed to topic "test" anymore. if i use a new clientId to connect to emqx , the new client will be subscribed to topic "test" . if i restart emqx once more,the samething will happen again.

@gilbertwong96 gilbertwong96 self-assigned this Jun 3, 2019
@turtleDeng turtleDeng added the BUG label Jun 3, 2019
@turtleDeng turtleDeng added this to the 3.2-beta.2 milestone Jun 3, 2019
turtleDeng added a commit that referenced this issue Jun 6, 2019
Fix #2595
@turtleDeng turtleDeng modified the milestones: 3.2-beta.2, 3.1.2 Jun 6, 2019

This comment has been minimized.

Copy link

@HJianBo HJianBo commented Jun 7, 2019

Hi, @sufish We have fixed it and released at v3.1.2 yesterday!

Thanks for your feedback :)

@HJianBo HJianBo closed this Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.