Confluent
CCDAK · Question #148
If I want to have an extremely high confidence that leaders and replicas have my data, I should use
The correct answer is C. acks=all, replication factor=3, min.insync.replicas=2. acks=all means the leader will wait for all in-sync replicas to acknowledge the record. Also the min in- sync replica setting specifies the minimum number of replicas that need to be in-sync for the partition to remain available for writes.
Developing Kafka Producers
Question
If I want to have an extremely high confidence that leaders and replicas have my data, I should use
Options
- Aacks=all, replication factor=2, min.insync.replicas=1
- Backs=1, replication factor=3, min.insync.replicas=2
- Cacks=all, replication factor=3, min.insync.replicas=2
- Dacks=all, replication factor=3, min.insync.replicas=1
How the community answered
(29 responses)- A7% (2)
- B14% (4)
- C76% (22)
- D3% (1)
Explanation
acks=all means the leader will wait for all in-sync replicas to acknowledge the record. Also the min in- sync replica setting specifies the minimum number of replicas that need to be in-sync for the partition to remain available for writes.
Topics
#acks=all#min.insync.replicas#replication factor#durability
Community Discussion
No community discussion yet for this question.