-
Notifications
You must be signed in to change notification settings - Fork 3.9k
RABBITMQ_ERLANG_COOKIE deprecation #7262
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@lukebakken we can change the warning to day that environment variable use is not recommended over other options and keep what we currently support but not anything else beyond the already added default user credential vars. WDYT? |
I was using the "docker -e RABBITMQ_ERLANG_COOKIE=xxx" command mainly to setup a testing environment. The way to handle this in such a scenario is fine for me and in a production environment I would fall back to proper secrets management. However getting the warning that this feature will get removed soon is kind of a bummer, as this means that all tests WILL break soon. PS: Thanks for your work on this :). Loving RabbitMQ so far. |
Uh oh!
There was an error while loading. Please reload this page.
Examples of user confusion:
In RabbitMQ Server, there is no warning when the
RABBITMQ_ERLANG_COOKIE
environment variable is used, but there is a warning printed when a CLI tool uses it:https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbitmq_cli/lib/rabbitmq/cli/core/distribution.ex#L115-L137
Furthermore, it is not listed as deprecated by the docker image:
https://github.com/docker-library/rabbitmq/blob/master/docker-entrypoint.sh#L13-L29
Personally I think the deprecation warning should be removed and support for the existing
RABBITMQ_
env vars preserved.@dumbbell @michaelklishin ?
The text was updated successfully, but these errors were encountered: