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)- A5% (2)
- B93% (37)
- C3% (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.