Advanced
Big Data & Data Engineering
Q84 / 100
How does Kafka achieve "exactly-once" semantics across producer and consumer with transactions?
Correct! Well done.
Incorrect.
The correct answer is A) By using idempotent producers combined with transactional writes that atomically commit both output records and consumer offsets
A
Correct Answer
By using idempotent producers combined with transactional writes that atomically commit both output records and consumer offsets
Explanation
Kafka transactions let a producer atomically write to multiple partitions and commit consumer offsets together, so a failure and retry does not produce duplicates downstream.
Progress
84/100