Bird
0
0

Given MirrorMaker 2 replicates topic 'orders' from cluster A to B, what happens if a message is produced to 'orders' in cluster A?

medium📝 Predict Output Q4 of 15
Kafka - Multi-Datacenter and Replication
Given MirrorMaker 2 replicates topic 'orders' from cluster A to B, what happens if a message is produced to 'orders' in cluster A?
AThe message is deleted from cluster A after replication
BThe message is only stored in cluster A
CThe message is copied to 'orders' topic in cluster B
DThe message is duplicated in cluster A only
Step-by-Step Solution
Solution:
  1. Step 1: Understand MirrorMaker 2 replication

    MirrorMaker 2 copies messages from source to target cluster topics.
  2. Step 2: Analyze message flow

    Message produced in cluster A's 'orders' is replicated to cluster B's 'orders' topic.
  3. Final Answer:

    The message is copied to 'orders' topic in cluster B -> Option C
  4. Quick Check:

    Message replication = copied to target cluster [OK]
Quick Trick: Messages replicate from source to target topic [OK]
Common Mistakes:
  • Thinking messages are deleted after replication
  • Assuming messages stay only in source cluster
  • Believing duplication happens only in source cluster

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes