Event-Driven Architecture (EDA)
EDA is a modern architectural style where events, state changes, user actions, system notifications, serve as the primary triggers that drive data flows and processing. Instead of relying on synchronous calls or sequential processes, EDA enables decoupled, asynchronous, and highly scalable systems.
Key components include:
- Producers: Emit events (e.g., an API receives an order).
- Event Brokers: Middleware distributing events reliably (Kafka, MQTT, NATS).
- Consumers: Subscribe and react to events with business logic.
- Event Stores: Persist events for traceability and replay.