Event-Driven Architecture
Event schemas are APIs. Version them carefully.
Sequence
sequenceDiagram
participant Producer
participant Kafka
participant Consumer
Producer->>Kafka: publish event v2
Kafka-->>Consumer: deliver by partition
Consumer->>Consumer: idempotent process
Always include event ID and processing idempotency keys.