nerdexam
Confluent

CCDAK · Question #58

To prevent network-induced duplicates when producing to Kafka, I should use

The correct answer is B. enable.idempotence=true. Producer idempotence helps prevent the network introduced duplicates.

Developing Kafka Producers

Question

To prevent network-induced duplicates when producing to Kafka, I should use

Options

  • Amax.in.flight.requests.per.connection=1
  • Benable.idempotence=true
  • Cretries=200000
  • Dbatch.size=1

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    93% (37)
  • C
    3% (1)

Explanation

Producer idempotence helps prevent the network introduced duplicates.

Topics

#idempotent producer#enable.idempotence#duplicate prevention#exactly-once

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice