Skip to main content
InterviewHubPRO
Section Overview
Q20

Question 20 of 50

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

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

What are RabbitMQ Streams (AMQP 1.0) and how do they differ from Queues?

senior LevelSystem DesignRabbitMQMicroservices

In Simple Words: Introduced in RabbitMQ 3.9+, Streams provide an append-only, immutable commit log modeled after Apache Kafka:

  • Unlike queues, messages are not deleted upon consumption.
  • Consumers can attach at any point in the stream using an offset (first, last, next, or timestamp) and replay history.
  • Achieves millions of messages per second with minimal CPU overhead.
  • Excellent for event sourcing and stream analytics without needing to manage a separate Kafka cluster.