0
我通过Docker和Docker Cloud创建了一个RabbitMQ集群。我在两个单独的节点上运行两个RabbitMQ容器(都在AWS上托管)。当一个节点不可达时,RabbitMQ集群失败
的rabbitmqctl cluster_status
输出是:
Cluster status of node '[email protected]' ...
[{nodes,[{disc,['[email protected]','[email protected]']}]},
{running_nodes,['[email protected]','[email protected]']},
{cluster_name,<<"[email protected]">>},
{partitions,[]}]
然而,当我停止一个容器/节点,那么我的消息无法得到被传送出去,我使用senecajs用的NodeJS在.dlx
得到排队。
有没有人有同样的问题,可以指出我的方向?
你使用HA队列吗? https://www.rabbitmq.com/ha.html – Gabriele