Bird
0
0

How can you ensure MirrorMaker 2 replicates topic configurations along with data?

hard📝 Application Q9 of 15
Kafka - Multi-Datacenter and Replication
How can you ensure MirrorMaker 2 replicates topic configurations along with data?
AIncrease 'tasks.max' to 10
BSet 'emit.heartbeats.enabled' to true
CUse 'source.cluster.bootstrap.servers' only
DEnable 'sync.topic.configs.enabled' in the MirrorMaker 2 config
Step-by-Step Solution
Solution:
  1. Step 1: Identify config sync property

    MirrorMaker 2 supports syncing topic configurations when 'sync.topic.configs.enabled' is set to true.
  2. Step 2: Eliminate unrelated settings

    Heartbeats, cluster bootstrap servers, and task count do not control config replication.
  3. Final Answer:

    Enable 'sync.topic.configs.enabled' in the MirrorMaker 2 config -> Option D
  4. Quick Check:

    Topic config sync = sync.topic.configs.enabled true [OK]
Quick Trick: Set 'sync.topic.configs.enabled=true' to replicate configs [OK]
Common Mistakes:
MISTAKES
  • Confusing heartbeats with config sync
  • Ignoring config sync property
  • Thinking task count affects config replication

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes