Confluent
CCDAK · Question #100
A consumer has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group never committed offsets for the topic before. Where will the…
The correct answer is A. offset 2311. Latest means that data retrievals will start from where the offsets currently end.
Developing Kafka Consumers
Question
A consumer has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group never committed offsets for the topic before. Where will the consumer read from?
Options
- Aoffset 2311
- Boffset 0
- Coffset 45
- Dit will crash
How the community answered
(55 responses)- A89% (49)
- B4% (2)
- C5% (3)
- D2% (1)
Explanation
Latest means that data retrievals will start from where the offsets currently end.
Topics
#auto.offset.reset#latest#consumer offset reset#offset management
Community Discussion
No community discussion yet for this question.