https://www.rabbitmq.com/configure.html

概述

RabbitMQ 带有默认的内置设置。在某些环境中(例如开发和 QA),这些可能已经足够了。对于所有其他情况,以及生产部署调整,有一种方法可以在代理和插件中配置许多东西。

本指南涵盖了许多与配置相关的主题:

  • 配置服务器和插件的各种设置的不同方式
  • 配置文件:主要的rabbitmq.conf或.conf 文件的目录,以及可选的advanced.config
  • 各种平台上的默认配置文件位置
  • 配置故障排除:如何找到配置文件位置并检查验证有效配置
  • rabbitmq.conf中的环境变量插值
  • RabbitMQ 节点使用的环境变量
  • 操作系统(内核)限制
  • 可用的核心服务器设置
  • 可用的环境变量
  • 如何加密敏感配置值

由于配置会影响系统的许多区域,包括插件,因此各个文档指南 会更深入地探讨可以配置的内容。运行时调优是本指南的姊妹篇,重点介绍运行时中的可配置参数。Production Checklist是一份相关指南,概述了在大多数生产环境中可能需要调整哪些设置。

配置方式

可以使用多种负责不同区域的机制来配置 RabbitMQ 节点:

RabbitMQ的配置方式

Comma-separated list of tags to apply to the user. Currently supported by the management plugin:
management
User can access the management plugin
policymaker
User can access the management plugin and manage policies and parameters for the vhosts they have access to.
monitoring
User can access the management plugin and see all connections and channels as well as node-related information.
administrator
User can do everything monitoring can do, manage users, vhosts and permissions, close other user’s connections, and manage policies and parameters for all vhosts.
Note that you can set any tag here; the links for the above four tags are just for convenience.

作者:Jeebiz  创建时间:2023-04-11 16:04
最后编辑:Jeebiz  更新时间:2024-09-23 10:03