Docker中RabbitMQ安装延迟队列插件
docker ps
docker exec -it b195 /bin/bash
cd /opt/rabbitmq/sbin
rabbitmqctl status
cd /opt/rabbitmq/plugins
wget https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/download/v3.12.0/rabbitmq_delayed_message_exchange-3.12.0.ez
rabbitmq-plugins enable rabbitmq_delayed_message_exchange
ps:如果安装失败,请查看RabbitMQ插件版本是否匹配
安装成功,在RabbitMQ Type中会多出一个:x-delayed-message
文档信息
- 本文作者:carpe
- 本文链接:https://carpedx.com/fragment/docker-rabbitmq-x-delayed-message/
- 版权声明:自由转载-非商用-非衍生-保持署名(创意共享3.0许可证)