Self-test
Check your understanding
Self-test9 questions
What does a Kafka transaction guarantee that idempotence alone doesn't?
Are aborted records removed from the log? What decides whether a consumer sees them?
Why did the first version of the lab show no aborted records even to
read_uncommitted?What are the transaction coordinator and control records?
Explain consume-transform-produce and why committing offsets inside the transaction matters.
How does
init_transactions()fence a zombie producer?Why doesn't exactly-once cover a consumer that charges a credit card?
Why do offsets in transactional topics have gaps?
- Design question
A service reads orders, enriches them with customer data, and writes to an enriched topic that billing consumes. Make it exactly-once end to end, and say where it stops being exactly-once.