rabbitmq / rabbitmq-mqtt

RabbitMQ MQTT plugin
https://www.rabbitmq.com/mqtt.html
Other
174 stars 67 forks source link

Stop client ID tracker Raft node when plugin is disabled #227

Closed michaelklishin closed 4 years ago

michaelklishin commented 4 years ago

Currently, the Ra node used by this plugin is left running, which means the plugin cannot be disabled and re-enabled in some cases.

michaelklishin commented 4 years ago

Having experimented with this, I think it would not fit the existing node membership management approach. The plugin cannot know if the node is gone temporarily or permanently, so for permanent removal there is a dedicated CLI command.