Táirgeoirí fhoilsíonn (scríobhann) imeachtaí chuig topaicí Kafka, agus tomhaltóirí dhéanann ionad a ghlacadh le (léann) imeachtaí uathu. Is bunúsach do úsáid Kafka a thuiscint conas a oibríonn siad — lena n-áirítear páirtíonn, fritháirimh, agus grúpaí tomhaltóirí.
Táirgeoirí — imeachtaí a scríobh
PRODUCERS publish events to TOPICS:
→ send a record (key, value) to a topic
→ the key determines the PARTITION (same key → same partition → ordering for that key);
no key → distributed (round-robin)
→ can configure ACKNOWLEDGMENTS (acks) for durability (wait for replicas to confirm)
→ batching, compression for throughput
