AdvancedOperations
What is the Kafka Mirror Maker 2 (MM2) and how does multi-cluster replication work?
Reference answer
MirrorMaker 2 is the official Kafka replication tool (superseding MM1) built on Kafka Connect. It replicates topics from source to destination clusters with configurable filter rules. Key features: 1) Automatic topic configuration sync. 2) Consumer group offset translation (adjusts offsets across different cluster logs). 3) Bidirectional replication support. 4) Failover support (automatically resumes from correct position). Naming convention: replicated topics get a cluster-prefix (e.g., us-east.orders). MM2 is deployed as a Connect cluster and is suitable for active-passive or active-active multi-DC architectures.
Expected key concepts: MirrorMaker 2, MM2, Kafka Connect, multi-cluster, offset translation, bidirectional, failover, cluster-prefix, active-passive, active-active, topic configuration sync