Skip to main content

Kafka

Problem

Services need reliable async communication at scale

Solution

Apache Kafka as event backbone with Avro schemas

Implementation

Topics per domain event, partitioned by aggregate ID. MSK on AWS.

Tradeoffs

Operational complexity vs message broker simplicity

Failure Scenarios

Broker outage → producer buffering, consumer lag alerts