Bird
0
0

Consider two Kafka clusters in active-active mode replicating topic 'orders'. If a message is produced to cluster A, what happens next?

medium📝 Conceptual Q4 of 15
Kafka - Multi-Datacenter and Replication
Consider two Kafka clusters in active-active mode replicating topic 'orders'. If a message is produced to cluster A, what happens next?
AThe message is replicated to cluster B to keep data consistent.
BThe message is only stored in cluster A and not replicated.
CThe message is deleted from cluster A after replication.
DThe message causes cluster B to shut down.
Step-by-Step Solution
Solution:
  1. Step 1: Understand replication in active-active

    Active-active clusters replicate data to keep both clusters consistent.
  2. Step 2: Apply to message produced to cluster A

    The message is sent to cluster A and then replicated to cluster B.
  3. Final Answer:

    The message is replicated to cluster B to keep data consistent. -> Option A
  4. Quick Check:

    Active-active replication = B [OK]
Quick Trick: Active-active replicates messages between clusters [OK]
Common Mistakes:
  • Assuming no replication occurs
  • Thinking messages are deleted after replication
  • Believing replication causes shutdown

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes