nerdexam
Confluent

CCDAK · Question #180

Your Kafka cluster has five brokers. The topic t1 on the cluster has: - Two partitions - Replication.factor = 4 - min.insync.replicas = 3 You need strong durability guarantees for messages written…

The correct answer is C. 4. With replication.factor = 4 and acks=all, a message is considered committed when all 4 in-sync replicas acknowledge it.

Developing Kafka Producers

Question

Your Kafka cluster has five brokers. The topic t1 on the cluster has:

  • Two partitions
  • Replication.factor = 4
  • min.insync.replicas = 3

You need strong durability guarantees for messages written to topic t1. You configure a producer 'acks=all' and all the replicas for t1 are in-sync. How many brokers need to acknowledge a message before it is considered committed?

Options

  • A2
  • B3
  • C4
  • D5

How the community answered

(28 responses)
  • A
    14% (4)
  • B
    7% (2)
  • C
    75% (21)
  • D
    4% (1)

Explanation

With replication.factor = 4 and acks=all, a message is considered committed when all 4 in-sync replicas acknowledge it.

Topics

#acks=all#min.insync.replicas#replication factor#durability

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice