Event-driven architecture diagram template
Producers, a broker topic, independent consumers and a dead-letter queue.
About this template
In an event-driven system the producers do not know who is listening. That is the whole point, and it is also why these systems are hard to understand without a picture. This template shows one topic with two producers and three consumers, plus the dead-letter queue that every real deployment needs and most diagrams forget.
Read it left to right: something happened, the broker recorded it, and each consumer reacts at its own pace.
What is in the diagram
- Producers
- Checkout and Inventory emit facts about what happened. They do not call the consumers.
- Event broker
- A durable log or topic. Kafka, a cloud pub/sub service or a message queue all fit this box.
- Consumers
- Billing, Shipping and Analytics each keep their own offset and can be replayed independently.
- Dead-letter queue
- Where messages go after repeated failures, so one bad event does not block the stream.
More software architecture templates
Three-tier web app
Browser, load-balanced web servers, an application API, a cache and a replicated database.
Microservices
Clients, an API gateway, four services with their own data, and an event bus between them.
RAG pipeline
Retrieval-augmented generation: ingestion on one path, question answering on the other.