Event-driven architecture
Components communicate by publishing and reacting to events, decoupling producers from consumers.
In event-driven systems, a producer announces that something happened and any number of consumers react asynchronously, usually via a broker such as Kafka or a cloud event bus. It improves decoupling and scalability and enables real-time reactions. Trade-offs: flows become harder to trace, ordering and duplicate delivery must be handled, and eventual consistency is the norm. 'Event-driven' covers several distinct styles (notification, event-carried state transfer, event sourcing) worth distinguishing.
- Type
- Architecture pattern
- Category
- Architecture
- License
- Free
- Pricing
- Free
- Level
- Intermediate
- Technologies
- architecture, kafka, messaging, distributed-systems
- Last verified
- 26 Nov 2026
What Event-driven architecture is used for
- Real-time processing
- Integrating many independent systems
- IoT and streaming
Strengths
- Loose coupling
- Scales consumers independently
- Natural audit trail
Limitations
- Harder to follow end-to-end flow
- Eventual consistency
- Idempotency needed
How it relates to other tools
- Event-driven architecture works with Event sourcing
- Event-driven architecture works with Transactional outbox
- Event-driven architecture works with Apache Kafka
- Works with Event-driven architecture: Serverless architecture