hard20 pts · first answer countskafkadelivery-semantics
Committing offsets too early
A consumer polls a batch, commits the offsets immediately, then writes the batch to the database. It crashes after the commit but before the write. What happens on restart?
Discussion 0
Join free to post in the discussion.
Related questions
- Where Avro fitsData Engineer
- Kafka consumer groupsData Engineer
- What a Kafka offset isData Engineer
- Ordering in KafkaData Engineer
- Duplicates from at-least-once deliveryData Engineer
- Eight consumers, six partitionsData Engineer
- Exactly-once end to endData Engineer
- Adding partitions to a keyed topicData Engineer