Bird
0
0

Given two Kafka clusters configured in active-active mode, what is the expected behavior when a message is produced to both clusters simultaneously?

medium📝 Predict Output Q13 of 15
Kafka - Multi-Datacenter and Replication
Given two Kafka clusters configured in active-active mode, what is the expected behavior when a message is produced to both clusters simultaneously?
AMessages are processed independently and replicated asynchronously between clusters.
BOnly one cluster accepts messages; the other rejects them.
CMessages are lost if produced to both clusters at the same time.
DClusters merge messages automatically without conflicts.
Step-by-Step Solution
Solution:
  1. Step 1: Understand active-active message handling

    In active-active, both clusters accept messages and replicate asynchronously. Messages are processed independently and replicated asynchronously between clusters. correctly states messages are processed independently and replicated asynchronously between clusters.
  2. Final Answer:

    Messages are processed independently and replicated asynchronously between clusters. -> Option A
  3. Quick Check:

    Active-active = independent processing + async replication [OK]
Quick Trick: Active-active clusters replicate asynchronously, handling messages independently [OK]
Common Mistakes:
  • Assuming only one cluster accepts messages
  • Thinking messages get lost on simultaneous produce
  • Believing clusters merge messages automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes