2017-04-05 22:36:28 +08:00
# RabbitMQ Peer Discovery Consul
2019-03-20 16:19:45 +08:00
This is a Consul-based implementation of RabbitMQ [peer discovery interface ](https://www.rabbitmq.com/blog/2018/02/12/peer-discovery-subsystem-in-rabbitmq-3-7/ )
2017-05-25 00:51:10 +08:00
(new in 3.7.0, previously available in the [rabbitmq-autocluster plugin ](https://github.com/rabbitmq/rabbitmq-autocluster )
by Gavin Roy).
2017-04-05 22:36:28 +08:00
2018-01-19 22:47:25 +08:00
This plugin only performs peer discovery and most basic node health monitoring
using [Consul ](https://www.consul.io/ ) as a data source.
Please get familiar with [RabbitMQ clustering fundamentals ](https://rabbitmq.com/clustering.html ) before attempting
to use it.
While it may seem at times that this is a RabbitMQ cluster management solution,
it is not. Cluster provisioning and most of Day 2 operations such as [proper monitoring ](https://rabbitmq.com/monitoring.html )
are not in scope for this plugin.
2017-04-05 22:36:28 +08:00
## Supported RabbitMQ Versions
This plugin requires RabbitMQ 3.7.0 or later.
2017-04-05 22:38:02 +08:00
For a Consul-based peer discovery and cluster formation
2017-05-25 00:51:36 +08:00
mechanism that supports 3.6.x, see [rabbitmq-autocluster ](https://github.com/rabbitmq/rabbitmq-autocluster ).
2017-04-05 22:38:02 +08:00
2017-04-05 22:36:28 +08:00
2018-02-15 23:59:50 +08:00
## Installation
2019-09-10 21:24:14 +08:00
This plugin ships with [supported RabbitMQ versions ](https://www.rabbitmq.com/versions.html ).
There is no need to install it separately.
As with any [plugin ](https://rabbitmq.com/plugins.html ), it must be enabled before it
can be used. For peer discovery plugins it means they must be [enabled ](https://rabbitmq.com//plugins.html#basics ) or [preconfigured ](https://rabbitmq.com//plugins.html#enabled-plugins-file )
before first node boot:
2018-02-15 23:59:50 +08:00
```
rabbitmq-plugins --offline enable rabbitmq_peer_discovery_consul
```
2017-12-21 21:16:36 +08:00
## Documentation
2019-03-20 16:19:45 +08:00
See [RabbitMQ Cluster Formation guide ](https://www.rabbitmq.com/cluster-formation.html ).
2017-12-21 21:16:36 +08:00
2017-04-05 22:36:28 +08:00
## Contributing
2019-03-20 16:19:45 +08:00
See [CONTRIBUTING.md ](./CONTRIBUTING.md ) and our [development process overview ](https://www.rabbitmq.com/github.html ).
2017-04-05 22:36:28 +08:00
## License
[Licensed under the MPL ](LICENSE-MPL-RabbitMQ ), same as RabbitMQ server.
## Copyright
2024-02-06 01:26:25 +08:00
(c) 2007-2024 Broadcom. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.