Rabbitmq如何安裝插件


Rabbitmq如何安裝插件

安裝 rabbitmq_delayed_message_exchange 和 amqp_client

rabitmq-plugins命令詳情

文檔:RabbitMQ手冊之rabbitmq-plugins.md

查看本地插件

# rabbitmq-plugins list
 Configured: E = explicitly enabled; e = implicitly enabled
 | Status:   * = running on rabbit@7f153b30f57e
 |/
[  ] rabbitmq_amqp1_0                  3.6.14
[  ] rabbitmq_auth_backend_ldap        3.6.14
[  ] rabbitmq_auth_mechanism_ssl       3.6.14
[  ] rabbitmq_consistent_hash_exchange 3.6.14
[  ] rabbitmq_event_exchange           3.6.14
[  ] rabbitmq_federation               3.6.14
[  ] rabbitmq_federation_management    3.6.14
[  ] rabbitmq_jms_topic_exchange       3.6.14
[E*] rabbitmq_management               3.6.14
[e*] rabbitmq_management_agent         3.6.14
[  ] rabbitmq_management_visualiser    3.6.14
[  ] rabbitmq_mqtt                     3.6.14
[  ] rabbitmq_random_exchange          3.6.14
[  ] rabbitmq_recent_history_exchange  3.6.14
[  ] rabbitmq_sharding                 3.6.14
[  ] rabbitmq_shovel                   3.6.14
[  ] rabbitmq_shovel_management        3.6.14
[  ] rabbitmq_stomp                    3.6.14
[  ] rabbitmq_top                      3.6.14
[  ] rabbitmq_tracing                  3.6.14
[  ] rabbitmq_trust_store              3.6.14
[e*] rabbitmq_web_dispatch             3.6.14
[  ] rabbitmq_web_mqtt                 3.6.14
[  ] rabbitmq_web_mqtt_examples        3.6.14
[  ] rabbitmq_web_stomp                3.6.14
[  ] rabbitmq_web_stomp_examples       3.6.14
[  ] sockjs                            0.3.4

安裝amqp_client插件

# rabbitmq-plugins enable amqp_client                  
Plugin configuration unchanged.

Applying plugin configuration to rabbit@7f153b30f57e... nothing to do.

安裝 rabbitmq_delayed_message_exchange 插件

# rabbitmq-plugins enable rabbitmq_delayed_message_exchange
Error: The following plugins could not be found:
  rabbitmq_delayed_message_exchange

通過上述命令發現插件 rabbitmq_delayed_meaage_exchange沒有安裝,需要下載安裝

下載rabbitmq_delayed_meaage_exchange

下載地址:http://www.rabbitmq.com/community-plugins.html

# linux: 
wget https://dl.bintray.com/rabbitmq/community-plugins/3.6.x/rabbitmq_delayed_message_exchange/rabbitmq_delayed_message_exchange-20171215-3.6.x.zip
# unzip解壓到
/usr/lib/rabbitmq/lib/rabbitmq_server-version/plugins/rabbitmq_delayed_message_exchange-20171201-3.7.x.ez

重新安裝插件

# rabbitmq-plugins enable rabbitmq_delayed_message_exchange
Error: The following plugins could not be found:
  rabbitmq_delayed_message_exchange

參考文檔

鏈接:https://blog.csdn.net/youjin/article/details/82586888


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM