liveBook · Manning

RabbitMQ

As explained in Kafka for Architects

RabbitMQ is an open-source message broker that supports asynchronous and synchronous messaging through multiple messaging protocols and patterns.

RabbitMQ is an open-source distributed message broker for decoupling producers and consumers. It supports point-to-point queues, publish-subscribe messaging, and request-reply interactions. section 5.3.1

RabbitMQ’s architecture and messaging model provide:

  • Queues deliver a message to a single consumer and remove it after consumption. section 5.3.1
  • Exchanges route producer messages to queues using bindings, routing rules, and message content. section 5.3.1
  • Request-reply messaging correlates responses with requests through reply queues and correlation IDs. section 5.3.1
  • Protocols include AMQP, STOMP, and MQTT, supporting different integration requirements. section 5.3.1

Microservice request and response

A client sends a request through RabbitMQ, identifies its reply queue, and includes a correlation ID. A server processes the request and publishes a response with the same ID, allowing the client to match the response to the original request. section 5.3.1

Figure 5.12 RabbitMQ architecture
A diagram of a rabbit

Description automatically generated

The architecture diagram helps trace how producers send messages to exchanges, which route them to queues consumed by decoupled clients. section 5.3.1

How Kafka for Architects covers it

How deep it goes
Defines three messaging patterns, protocols, exchange-based routing, and Kafka trade-offs without detailing deployment or operations.
Examples
Uses queues, exchanges, bindings, reply queues, routing rules, message content, and correlation IDs as concrete artifacts.
What you can do after
Evaluate RabbitMQ against Kafka using messaging patterns, routing needs, non-functional requirements, and team expertise.
How it connects
Connects message brokers with queues, exchanges, bindings, publish-subscribe, request-reply, AMQP, MQTT, STOMP, Kafka, and microservices.

Also explained in

Compare how 5 books explain RabbitMQ →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kafka for Architects. The section links point to the parts of the book it draws on.