High availability in RabbitMQ involves clustering (multiple nodes) and replicated queues (mirrored or quorum queues) so the system survives node failures without losing messages. Understanding HA is important for reliable, production RabbitMQ.
Clustering
RabbitMQ CLUSTER → multiple RabbitMQ nodes working together as one logical broker:
→ nodes share metadata (queues, exchanges, bindings, users)
→ distributes connections and load across nodes
⚠️ by default, a queue lives on ONE node → if that node fails, the queue is unavailable
(clustering alone doesn't make queues highly available → need replication)
