DE Mastery GitHub

Apache Kafka · KFK-05

Transactions & exactly-once — read-process-write, read_committed, fencing

From your world. SOX accuracy & completeness: no duplicated or dropped ledger entries

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz KFK-05.

1In a transactional read-process-write loop, what must commit atomically with the output writes to achieve exactly-once?
2A downstream consumer must NOT see records from aborted or in-flight transactions. What do you set?
3Why must the transactional.id be STABLE for each logical processor (not random for each run)?
4What happens to the writes of a transaction if the producer calls abort_transaction()?
5Which statements are required and true for transactional exactly-once in Kafka? (choose all) (select all that apply)
6When is plain at-least-once (KFK-04) plus an idempotent sink better than Kafka transactions?