Bird
0
0

You configured MirrorMaker 2 but replication is not starting. Which common mistake could cause this?

medium📝 Debug Q6 of 15
Kafka - Multi-Datacenter and Replication
You configured MirrorMaker 2 but replication is not starting. Which common mistake could cause this?
AMissing 'source.cluster.bootstrap.servers' property
BSetting 'sync.topic.acls.enabled' to true
CUsing the wrong Kafka version on source cluster
DEnabling 'emit.heartbeats.enabled'
Step-by-Step Solution
Solution:
  1. Step 1: Check essential MirrorMaker 2 configs

    Without 'source.cluster.bootstrap.servers', MirrorMaker 2 cannot connect to source cluster, so replication won't start.
  2. Step 2: Understand other options' effects

    Enabling ACL sync or heartbeats does not prevent replication; Kafka version mismatch might cause issues but is less common.
  3. Final Answer:

    Missing 'source.cluster.bootstrap.servers' property -> Option A
  4. Quick Check:

    Missing source cluster config = no replication [OK]
Quick Trick: Always set 'source.cluster.bootstrap.servers' [OK]
Common Mistakes:
  • Forgetting to set source cluster address
  • Blaming ACL sync or heartbeats for startup failure
  • Ignoring Kafka version compatibility

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes