Skip to main content
InterviewHubPRO
Section Overview
Q23

Question 23 of 50

Part 2: Core Architecture & Implementation (Mid-Level)

46%
RabbitMQ & AMQP (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)

What are the Shovel and Federation plugins in RabbitMQ?

senior LevelSystem DesignRabbitMQMicroservices

In Simple Words:

  • RabbitMQ Shovel:
    • A unidirectional, point-to-point pump that consumes messages from a queue in Cluster A and publishes them to an exchange/queue in Cluster B over WAN.
    • Handles network interruptions gracefully with automatic reconnects.
  • RabbitMQ Federation:
    • Connects brokers across high-latency WAN links without clustering.
    • Consumers in Europe can consume from a local exchange, while the Federation plugin automatically pulls messages on-demand from the US exchange only when local consumers exist.