Phase 5Advanced6 of 18 in Apache Kafka
Delivery Semantics & Transactions
At-most-once, at-least-once and exactly-once precisely; Kafka transactions and read-process-write; where exactly-once ends (external APIs, databases, emails); and the inbox pattern for idempotent consumers.
"Exactly-once" is the most misunderstood phrase in Kafka. Kafka offers exactly-once for reading from Kafka, processing, and writing back to Kafka. It can't make an email provider, a payment gateway or your database exactly-once by itself.
This phase makes the guarantees precise and gives you the patterns (idempotency keys, inbox tables, transactional writes) that close the gap for real side effects.
0/5 · 0%
5 topics ~39 min 8 code blocks & diagrams