0PricingLogin
RabbitMQ Messaging & Async Systems · Lesson

Federation Plugin for Clustering

Explore the Federation plugin to connect multiple RabbitMQ brokers into a logical cluster without complex networking. Create distributed messaging systems that span data centers.

What is RabbitMQ Federation?

Imagine you have RabbitMQ brokers in different data centers or cloud regions. How do they share messages without complex network setups?

The Federation plugin allows you to loosely connect these brokers. It enables messages to flow between them, creating a distributed messaging system across geographical boundaries.

Federation vs. Traditional Clustering

It's important to distinguish Federation from traditional RabbitMQ clustering:

  • Clustering: Tightly couples nodes, sharing state and data. Best for high availability within a single, low-latency network (e.g., a data center).
  • Federation: Loosely connects brokers by replicating messages. Ideal for spanning wide area networks (WANs) or connecting brokers managed by different teams. It doesn't share state like a cluster.

All lessons in this course

  1. Delayed Messages Plugin
  2. Shovel Plugin for Federation
  3. Federation Plugin for Clustering
  4. Message Deduplication & Consistent Hash Exchange Plugins
← Back to RabbitMQ Messaging & Async Systems