A concrete example
When a customer pays in an online store, the checkout service publishes an "order paid" event. The warehouse system picks it up and reserves stock, the email service sends a receipt, and the accounting integration records the sale. Checkout does not know or care how many listeners exist. Adding a loyalty-points feature later means adding one more listener, not editing checkout.
Why teams choose it
- Loose coupling: services can be changed, deployed or scaled on their own.
- Resilience: if the email service is down, events wait and are processed when it returns, so the sale itself still succeeds.
- Audit trail: a stream of events doubles as a record of what happened and when.
What it costs you
Debugging gets harder because one user action fans out into several asynchronous steps. You need tracing, clear event names, versioned event formats and a plan for events that arrive twice or out of order. For a small app with one database, plain function calls are usually simpler; event-driven designs pay off once several teams or systems must react to the same business moments.
Questions, answered
No. Small systems often use a managed queue, Redis streams or even database tables of events. Kafka suits very high volumes and long event retention.
No. Microservices often use events, but a single monolith can also be built around internal events.