nerdexam
Confluent

CCDAK · Question #5

A consumer starts and has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group has committed the offset 643 for the topic…

The correct answer is C. offset 643. The offsets are already committed for this consumer group and topic partition, so the property auto.offset.reset is ignored.

Developing Kafka Consumers

Question

A consumer starts and has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group has committed the offset 643 for the topic before. Where will the consumer read from?

Options

  • Ait will crash
  • Boffset 2311
  • Coffset 643
  • Doffset 45

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    3% (1)
  • C
    76% (22)
  • D
    7% (2)

Explanation

The offsets are already committed for this consumer group and topic partition, so the property auto.offset.reset is ignored.

Topics

#auto.offset.reset#committed offset#consumer group#offset management

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice