The rabbitmq-autocluster plugin clusters RabbitMQ nodes automatically using a pre-configured service discovery mechanism.
The currently supported service discovery backends are:
- Amazon AWS EC2 Tags
- Amazon AWS Autoscaling Group Membership
- Consul
- A-Record based DNS Round-robins
- etcd2
Important The rabbitmq-autocluster plugin requires Erlang R17.5 or higher. This may not correspond with the minimum Erlang version required by RabbitMQ.
Installation
- Place both
autocluster-%%VSN%%.ez
and therabbitmq_aws-%%VSN%%.ez
plugin files in the RabbitMQ plugins directory. - Run
rabbitmq-plugins enable autocluster
. - Configure the plugin.
Alternatively, there is a pre-built Docker Image available at on DockerHub as aweber/rabbitmq-autocluster
.
Note As of version 0.5 the autocluster plugin does not have a default backend configured. See the Project Wiki for configuration details.
Configuration
Configuration documentation can be found in the Project Wiki. Check out the Getting Started page to learn about the initial configuration.