Messaging Cheat Sheet
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production; see the section bibliography for the reference material consulted while preparing these pages. |
A single-page, colour-coded summary of the messaging essentials — the vocabulary map (term to Kafka name to
RabbitMQ name), the delivery-semantics table with the configuration that produces each guarantee, the Kafka
architecture one-liners (topic/partition/offset/ISR/KRaft) and the key producer/consumer/share-consumer
properties, the RabbitMQ AMQP model (exchange types and routing behaviour, queue properties) and the queue-type
table, ack/confirm one-liners for both brokers, the Kafka vs. RabbitMQ decision mini-table, the essential CLI
commands, the Docker one-liners for running both brokers locally, and the Spring class mapping and
spring.kafka. / spring.rabbitmq. / spring.cloud.stream.* property essentials — handy for quick
memorization or as a printable desk reference.
For the full explanation, every parameter, and additional examples, see the dedicated pages:
Foundations — Getting started, Messaging models & patterns, Delivery guarantees, and Messaging protocols.
Apache Kafka — Kafka architecture, Kafka producers, Kafka consumers, Kafka share groups, Kafka reliability & exactly-once, Kafka Streams, Kafka Connect, Kafka serialization & schemas, Kafka operations & monitoring, and Kafka security.
RabbitMQ — RabbitMQ architecture & the AMQP model, RabbitMQ queue types, RabbitMQ publishing, RabbitMQ consuming, RabbitMQ routing patterns, RabbitMQ reliability, dead-lettering & TTL, RabbitMQ & AMQP 1.0, RabbitMQ clustering, federation & shovel, and RabbitMQ operations, monitoring & security.
Comparison and practice — Kafka vs. RabbitMQ and Messaging patterns in practice.
Spring Boot integration — Overview, Spring for Apache Kafka, Spring AMQP, Spring Cloud Stream, Other Spring messaging options, and Testing messaging.
Other framework bindings — Messaging with SmallRye Reactive Messaging.