Skip to content
whiteboard.tools

Event-driven architecture diagram template

Producers, a broker topic, independent consumers and a dead-letter queue.

Use this template
Checkout serviceInventory serviceEvent brokertopic: ordersBilling consumerShipping consumerAnalytics consumerDead-letter queueData warehouseOrderPlacedStockChangedafter 5 retries
Event-driven architecture diagram template. Every shape, label and arrow is editable once it is on your board.

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.

Further reading

More software architecture templates