Kafka hija fondazzjoni popolari għal arkitetturi driven mill-eventi — fejn is-servizzi jikkomunikaw permezz ta' eventi minflok calls diretti. Il-event log durabbli u skalabbli ta' Kafka jagħmlilha adatta ħafna għal sistemi driven mill-eventi, event sourcing, u CQRS.
Kafka bħala l-backbone tal-eventi
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
