Free Mermaid diagrams covering Kafka, RabbitMQ, event streaming, pub/sub, sagas, event sourcing and more.
Messaging and event streaming systems are the backbone of modern distributed architectures. Whether you are decoupling microservices, building real-time data pipelines, or ensuring reliable delivery across failure boundaries, understanding how messages flow through your infrastructure is essential.
This collection covers the most important patterns engineers encounter when working with systems like Kafka and RabbitMQ. Start with the fundamentals: Kafka Producer Consumer Flow traces a message from publish to consumption, while Kafka Partitioning explains how horizontal scaling and ordering guarantees coexist. For reliability, Dead Letter Queue and Message Queue Retry show how failed messages are handled without data loss.
Architectural patterns are covered in depth. Event Sourcing Pattern demonstrates how state is derived from an immutable log of events. Saga Pattern walks through distributed transaction coordination using compensating steps. Competing Consumers Pattern and Fan Out Messaging cover the two primary strategies for scaling message consumption. Delivery semantics — Exactly Once Delivery, Idempotent Consumer, and Message Ordering Guarantee — complete the picture for anyone building production-grade messaging systems. Every diagram is free to edit and export in Graphlet.



















