rabbitmq / rabbitmq-peer-discovery-aws

AWS-based peer discovery backend for RabbitMQ 3.7.0+
Other
24 stars 11 forks source link

cluster_formation.peer_discovery_backend aliases #34

Closed michaelklishin closed 4 years ago

michaelklishin commented 4 years ago

This plugin's name is rabbitmq_peer_discovery_aws but the module name that must be configured for discovery is

cluster_formation.peer_discovery_backend = rabbit_peer_discovery_aws

which confuses some users and leads to hours spent troubleshooting and a lot of frustration.

We should introduce an alias module and consider an alias shortcut supported in rabbitmq.conf so that these config values

cluster_formation.peer_discovery_backend = rabbitmq_peer_discovery_aws
cluster_formation.peer_discovery_backend = aws

would be accepted.

michaelklishin commented 4 years ago

FTR, short names have been supported since 3.7.0: https://github.com/rabbitmq/rabbitmq-server/commit/5f9752ca8bbda64a3dff46afe9ea6043cce47006, https://github.com/rabbitmq/rabbitmq-server/commit/245e3c73031f2a7c27d32daa802dd03ec5b8aec2