官术网_书友最值得收藏!

  • Mastering RabbitMQ
  • Emrah Ayanoglu Yusuf Ayta? Dotan Nahum
  • 250字
  • 2021-07-23 14:52:50

Runtime parameters

RabbitMQ provides environment variables and configuration variables to configure RabbitMQ when starting the RabbitMQ server. In addition to these configurations, RabbitMQ allows us to change parameters, which were set in the environment variables and configuration variables in the runtime using the runtime parameters.

We can use the command-line tool for managing the RabbitMQ broker for changing the runtime parameters, as shown in the following screenshot:

Image 2: Command Line Tool for Managing a RabbitMQ broker

Parameter management

Parameter management is a way to configure RabbitMQ by setting the parameter values. We are able to change parameters using the set_parameter command of rabbitmqctl. Moreover, we can change the different types of components of RabbitMQ with the given component_name attribute. The following tables shows the parameters and description of the runtime parameters:

Policy management

Policy management is configuration of the RabbitMQ policy values. RabbitMQ gives us an opportunity to change its policies for message queues in the runtime, and its policies are applicable for exchange and queues. You can set the new policies using "set_policy", whereas you can clear all the policies using "clear_policy".

Memory management

Memory management is the configuration of RabbitMQ memory values. Memory management can be done through the RabbitMQ configuration file parameters as we saw in the previous sections. But, sometimes we have to change the memory threshold to a lower value for many client attractions. RabbitMQ gives an option to the change memory threshold using the "set_vm_memory_high_watermark" runtime parameter as shown in the following table:

主站蜘蛛池模板: 滨海县| 涿鹿县| 哈巴河县| 临朐县| 苍溪县| 英吉沙县| 南京市| 漳浦县| 鹿邑县| 英德市| 泌阳县| 铁岭县| 河北区| 峨眉山市| 美姑县| 宁津县| 长顺县| 会东县| 建宁县| 沁水县| 琼结县| 罗源县| 彭水| 普兰县| 双鸭山市| 广灵县| 奉化市| 百色市| 宽甸| 昌邑市| 伊吾县| 洛隆县| 凤城市| 阳东县| 民丰县| 成安县| 绥化市| 南昌县| 灵山县| 三原县| 洛隆县|