Rabbit cluster

I want to configure RabbitMQ as two (or more) node clusters with HA.

Use case: the client application manufacturer (C # .NET) knows that the cluster has two nodes and publishes the cluster. Various consumer applications (also C # .NET) connect to the cluster and receive all messages created by the manufacturer. While at least one node is running, the manufacturer and consumers will continue to work without errors. Assuming nodes A and B are running and B dies for a while, then restarts, then A dies after a while, clients continue to function without receiving an error, because at least one node has been running at all times.

Can this be done out of the box?

Are there any other MQs that would be more suitable (commercially normal) for a Windows / .NET application environment?

+3
source share
2 answers

Can this be done out of the box?

No. When a node drops, all its connections are closed. Because AMQP connections are low-key, there is no way around this. What you could achieve: 1) the broker goes down, 2) all clients disconnect, 3) clients connect to other nodes (disguise themselves as original ones) and are not wiser.

, . - ( , ).

+6

RabbitMQ v2.6.0 , / . Microsoft Apache QPid, #, / HA.

+7

Source: https://habr.com/ru/post/1773990/


All Articles