Bird
0
0

You want to set up geo-replication between three Kafka clusters (US, EU, Asia) so that each cluster has all topics from the others. Which strategy should you use?

hard📝 Application Q15 of 15
Kafka - Multi-Datacenter and Replication
You want to set up geo-replication between three Kafka clusters (US, EU, Asia) so that each cluster has all topics from the others. Which strategy should you use?
ASet up MirrorMaker 2 with a full mesh replication where each cluster replicates to the other two
BUse a single MirrorMaker 2 instance replicating only from US to EU and Asia
CConfigure MirrorMaker 2 to replicate only the largest topic across clusters
DUse Kafka Connect Sink to move data between clusters
Step-by-Step Solution
Solution:
  1. Step 1: Understand full data availability goal

    Each cluster should have all topics from the others, meaning data must flow both ways between all clusters.
  2. Step 2: Choose replication strategy

    A full mesh replication with MirrorMaker 2 means each cluster replicates to the other two, ensuring complete data presence everywhere.
  3. Final Answer:

    Set up MirrorMaker 2 with a full mesh replication where each cluster replicates to the other two -> Option A
  4. Quick Check:

    Full mesh replication = all clusters have all topics [OK]
Quick Trick: Full mesh replicates all topics between all clusters [OK]
Common Mistakes:
  • Using one-way replication only
  • Replicating only largest topic, missing others
  • Confusing Kafka Connect Sink with cluster replication

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes