Kafka, olay odaklı mimariler için popüler bir temel — hizmetlerin doğrudan çağrılar yerine olaylar aracılığıyla iletişim kurduğu sistemler. Kafka'nın dayanıklı, ölçeklenebilir olay günlüğü, olay odaklı sistemler, olay kaynağı ve CQRS için çok uygun.
Kafka as the event backbone
In event-driven architecture, services emit and react to EVENTS:
→ a service publishes events to Kafka ("OrderPlaced", "PaymentReceived")
→ other services CONSUME and react (decoupled — the producer doesn't know the consumers)
→ Kafka = the durable, scalable EVENT BACKBONE connecting services
→ services are decoupled, communicating via events through Kafka
