Bird
0
0

In a multi-datacenter Kafka setup, messages are not replicating to the second datacenter. What could be the problem?

medium📝 Debug Q7 of 15
Kafka - Multi-Datacenter and Replication
In a multi-datacenter Kafka setup, messages are not replicating to the second datacenter. What could be the problem?
AKafka brokers are running on the same datacenter
BReplication is disabled or misconfigured
CClients are producing messages too fast
DKafka topics have replication factor set to 3
Step-by-Step Solution
Solution:
  1. Step 1: Check replication configuration

    If replication is disabled or misconfigured, messages won't copy to other datacenters.
  2. Step 2: Understand effect on message replication

    Without proper replication, second datacenter remains empty.
  3. Final Answer:

    Replication is disabled or misconfigured -> Option B
  4. Quick Check:

    Replication config controls message copying [OK]
Quick Trick: Verify replication settings if data missing in datacenter [OK]
Common Mistakes:
MISTAKES
  • Assuming replication factor 3 causes no replication
  • Blaming client speed for replication failure
  • Ignoring broker location impact

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes