Kafka MirrorMaker 2 Basic Setup
📖 Scenario: You work for a company that has two Kafka clusters in different data centers. You want to keep the data in these clusters synchronized automatically.Kafka MirrorMaker 2 is a tool that helps copy data between Kafka clusters, so they stay in sync.
🎯 Goal: Set up a simple MirrorMaker 2 configuration to replicate topics from a source Kafka cluster to a target Kafka cluster.
📋 What You'll Learn
Create a MirrorMaker 2 properties file with source and target cluster details
Configure replication of all topics
Start MirrorMaker 2 with the created configuration
Verify that data is being mirrored from source to target
💡 Why This Matters
🌍 Real World
Companies use MirrorMaker 2 to keep Kafka data synchronized across data centers for disaster recovery and data locality.
💼 Career
Kafka administrators and DevOps engineers often configure MirrorMaker 2 to ensure data availability and consistency across distributed systems.
Progress0 / 4 steps