The earlier overview post showed the notification flow as a diagram. This series opens each box and looks at how it works in the real service. We start at the front door: how an event turns into a notification.
The core idea
Other services never send notifications themselves. When something happens that a user should hear about (a KYC status change, a transaction update, an account lock, a password change, an OTP request), the service that owns it publishes an event to Kafka. The notification service consumes those events and decides what to send and where.
That keeps business logic and delivery apart. The service that moves money has no idea what a push token or an SMS provider is. The notification service has no idea how a transaction works. Neither has to.
What an event carries
Every event type has its own Kafka topic and its own message shape, but they share some fields:
An eventId , unique per event.…