In an event-driven architecture, services communicate by producing and consuming events through a broker (Kafka, RabbitMQ, etc.). A service announces that something happened; interested services react — the producer doesn't know or wait for them.
How it works
text
Order Service ─publish→ [ Event Broker: "order.placed" ]
│
┌─────────────────┼──────────────────┐
▼ ▼ ▼
Inventory Notification Analytics
(reserve stock) (send email) (record metric)
