nerdexam
Confluent

CCDAK · Question #94

Consumer failed to process record # 10 and succeeded in processing record # 11. Select the course of action that you should choose to guarantee at least once processing

The correct answer is C. Commit offsets at 11. Here, you shouldn't commit offsets 11 or 10 as it would indicate that the message #10 has been processed successfully.

Developing Kafka Consumers

Question

Consumer failed to process record # 10 and succeeded in processing record # 11. Select the course of action that you should choose to guarantee at least once processing

Options

  • ACommit offsets at 10
  • BDo not commit until successfully processing the record #10
  • CCommit offsets at 11

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    16% (4)
  • C
    80% (20)

Explanation

Here, you shouldn't commit offsets 11 or 10 as it would indicate that the message #10 has been processed successfully.

Topics

#at-least-once semantics#offset commit#delivery guarantees#consumer error handling

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice