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?
✗ Incorrect
MirrorMaker 2 uses Kafka Connect framework to manage connectors for replication.
What is the main purpose of MirrorMaker 2?
✗ Incorrect
MirrorMaker 2 replicates data between Kafka clusters to keep them synchronized.
Which feature helps MirrorMaker 2 maintain consumer position after failover?
✗ Incorrect
Offset translation maps consumer offsets from source to target cluster.
MirrorMaker 2 supports which type of replication?
✗ Incorrect
MirrorMaker 2 supports bi-directional replication for active-active cluster setups.
Which of these is NOT a component of MirrorMaker 2?
✗ Incorrect
MirrorMaker 2 does not use Kafka Streams processors; it uses Kafka Connect connectors.
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.