Confluent
CCDAK · Question #61
A consumer starts and has auto.offset.reset=none, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group has committed the offset 10 for the topic before…
The correct answer is C. it will crash. auto.offset.reset=none means that the consumer will crash if the offsets it's recovering from have been deleted from Kafka, which is the case here, as 10 < 45
Developing Kafka Consumers
Question
A consumer starts and has auto.offset.reset=none, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group has committed the offset 10 for the topic before. Where will the consumer read from?
Options
- Aoffset 45
- Boffset 10
- Cit will crash
- Doffset 2311
How the community answered
(56 responses)- A16% (9)
- B5% (3)
- C71% (40)
- D7% (4)
Explanation
auto.offset.reset=none means that the consumer will crash if the offsets it's recovering from have been deleted from Kafka, which is the case here, as 10 < 45
Topics
#auto.offset.reset#consumer offsets#offset out of range#consumer configuration
Community Discussion
No community discussion yet for this question.