Skip to main content
InterviewHubPRO
Section Overview
Q5

Question 5 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

10%
RabbitMQ & AMQP (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What are the differences between RabbitMQ, Apache Kafka, and Redis Pub/Sub?

junior LevelRabbitMQApache KafkaMicroservices

In Simple Words:

FeatureRabbitMQApache KafkaRedis Pub/Sub
ParadigmSmart Broker / Dumb ConsumerDumb Broker / Smart ConsumerIn-Memory Ephemeral Pub/Sub
Storage ModelQueues (Messages deleted after ACK)Append-Only Log (Immutable, retained)RAM buffer (Discarded if no listener)
Consumer TrackingBroker tracks ACK per consumerConsumer tracks own offsetNo tracking (Fire-and-forget)
Routing FlexibilityComplex (Direct, Topic, Headers, DLQ)Key-based partition hashingSimple channel pattern matching
Best Used ForTransactional workflows, RPC, task queuesEvent streaming, analytics, CDC, metricsReal-time chat, live UI notifications