The RabbitMQ environment variables mostly gives the control of location of files and directories, whereas the RabbitMQ configuration file gives the control of the engine, such as authentication, performance, memory limit, disc limit, exchanges, queues, bindings, and so on. The configuration
file is by default located in /etc/rabbitmq/rabbitmq.config
for Unix-based computers and $RABBITMQ_SERVER\etc\rabbitmq.config
for Windows-based computers, as discussed in the previous sections.
RabbitMQ has many configuration variables; however, we will discuss the most important ones here:
auth_mechanisms
: This is used to supports different types of authentication mechanisms. You can change the different type of authentication mechanism using this variable.default_user
: This is used as a default user to access the RabbitMQ server using the RabbitMQ client. Thedefault_user
variable simply defines the username of the default user.default_pass
: This is similar to thedefault_user...