0
0
Kafkadevops~5 mins

MirrorMaker 2 concept in Kafka - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is MirrorMaker 2 in Kafka?
MirrorMaker 2 is a tool in Kafka used to replicate data between Kafka clusters. It helps keep data synchronized across different environments or data centers.
Click to reveal answer
intermediate
How does MirrorMaker 2 differ from MirrorMaker 1?
MirrorMaker 2 is built on the Kafka Connect framework, offering better scalability, fault tolerance, and easier configuration compared to MirrorMaker 1, which was a simpler, standalone tool.
Click to reveal answer
intermediate
What are the main components of MirrorMaker 2?
MirrorMaker 2 uses Kafka Connect source and sink connectors to read from the source cluster and write to the target cluster. It also manages offsets and consumer groups to ensure reliable replication.
Click to reveal answer
advanced
Why is offset translation important in MirrorMaker 2?
Offset translation allows MirrorMaker 2 to map consumer offsets from the source cluster to the target cluster, so consumers can continue reading messages seamlessly after failover or migration.
Click to reveal answer
advanced
Can MirrorMaker 2 handle bi-directional replication?
Yes, MirrorMaker 2 supports active-active setups where data is replicated in both directions between clusters, helping with high availability and disaster recovery.
Click to reveal answer
What framework is MirrorMaker 2 built on?
AKafka Connect
BZookeeper
CKafka Streams
DApache Flink
What is the main purpose of MirrorMaker 2?
ATo monitor Kafka brokers
BTo process streaming data
CTo replicate data between Kafka clusters
DTo store data permanently
Which feature helps MirrorMaker 2 maintain consumer position after failover?
AOffset translation
BTopic compaction
CPartition reassignment
DConsumer lag monitoring
MirrorMaker 2 supports which type of replication?
AUni-directional only
BBi-directional
CFile-based
DDatabase replication
Which of these is NOT a component of MirrorMaker 2?
ASource connector
BSink connector
COffset translator
DKafka Streams processor
Explain how MirrorMaker 2 replicates data between Kafka clusters.
Think about how data moves from one cluster to another and how consumer positions are kept.
You got /4 concepts.
    Describe the benefits of using MirrorMaker 2 over MirrorMaker 1.
    Consider improvements in architecture and reliability.
    You got /4 concepts.