0
0
Kafkadevops~5 mins

Geo-replication strategies in Kafka - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is geo-replication in Kafka?
Geo-replication in Kafka means copying data across different geographic locations to improve availability and disaster recovery.
Click to reveal answer
beginner
Name two common Kafka geo-replication tools or methods.
Two common methods are MirrorMaker 2 and Confluent Replicator, which help copy topics between Kafka clusters in different regions.
Click to reveal answer
intermediate
What is the main difference between active-active and active-passive geo-replication?
Active-active means multiple clusters can read and write data simultaneously, while active-passive means only one cluster writes and others are backups.
Click to reveal answer
intermediate
Why is data consistency a challenge in geo-replication?
Because data is copied across distant locations, network delays and conflicts can cause data to be out of sync or inconsistent temporarily.
Click to reveal answer
advanced
How does MirrorMaker 2 handle topic replication?
MirrorMaker 2 uses the Kafka Connect framework to replicate topics, consumer offsets, and configurations between clusters, supporting automatic failover.
Click to reveal answer
What is the purpose of geo-replication in Kafka?
ATo delete old Kafka logs
BTo compress Kafka messages
CTo encrypt Kafka topics
DTo copy data across regions for availability and disaster recovery
Which tool is commonly used for Kafka geo-replication?
AMirrorMaker 2
BKafka Streams
CKafka Connect Sink
DZooKeeper
In active-passive geo-replication, which cluster handles writes?
ABoth clusters simultaneously
BOnly the passive cluster
COnly the active cluster
DNeither cluster
What challenge does network latency cause in geo-replication?
AData inconsistency
BFaster replication
CMore storage space
DAutomatic topic creation
MirrorMaker 2 is built on which Kafka framework?
AKafka Streams
BKafka Connect
CKafka Producer API
DKafka Consumer API
Explain the difference between active-active and active-passive geo-replication strategies in Kafka.
Think about how many clusters can write data at the same time.
You got /3 concepts.
    Describe how MirrorMaker 2 helps with Kafka geo-replication.
    Focus on the framework MirrorMaker 2 is built on and what it replicates.
    You got /4 concepts.