RabbitMQ
Exchanges, routing, acknowledgements, durability, and dead-lettering
Architecture
Understand RabbitMQ as a smart broker built on the AMQP model: exchanges route, queues store.
Exchange Types
Pick the exchange type that matches your routing pattern: direct, topic, fanout, or headers.
Routing Keys & Bindings
Wire producers to consumers declaratively through binding keys instead of hardcoded destinations.
Acknowledgements & Delivery Guarantees
Use consumer acks correctly so messages are never silently lost on failure.
Publisher Confirms & Persistence
Guarantee the broker actually stored a message — survive broker restarts without losing data.
Dead Letter Exchanges (DLX)
Capture messages that fail, expire, or overflow instead of losing them or looping forever.
Prefetch / QoS & Competing Consumers
Balance load fairly across workers and prevent one consumer from hoarding messages.
When to Use RabbitMQ
Recognise the workloads where a smart broker beats a log or a managed queue.