Bird
0
0

Why does MirrorMaker 2 use Kafka Connect framework instead of just Kafka Producer and Consumer APIs?

hard📝 Conceptual Q10 of 15
Kafka - Multi-Datacenter and Replication
Why does MirrorMaker 2 use Kafka Connect framework instead of just Kafka Producer and Consumer APIs?
AKafka Connect provides scalable, fault-tolerant connectors for replication
BProducer and Consumer APIs cannot connect to multiple clusters
CKafka Connect compresses data automatically
DProducer and Consumer APIs do not support topic creation
Step-by-Step Solution
Solution:
  1. Step 1: Understand Kafka Connect advantages

    Kafka Connect offers scalable, fault-tolerant connectors that simplify replication management.
  2. Step 2: Evaluate limitations of Producer and Consumer APIs

    Producer and Consumer APIs can connect to clusters but lack built-in fault tolerance and scalability for replication tasks.
  3. Step 3: Eliminate incorrect reasons

    Compression and topic creation are not main reasons for using Kafka Connect.
  4. Final Answer:

    Kafka Connect provides scalable, fault-tolerant connectors for replication -> Option A
  5. Quick Check:

    Kafka Connect = scalable, fault-tolerant replication [OK]
Quick Trick: Kafka Connect enables scalable, fault-tolerant replication [OK]
Common Mistakes:
MISTAKES
  • Thinking Producer/Consumer APIs can't connect to clusters
  • Assuming Kafka Connect compresses data
  • Believing Producer/Consumer APIs handle topic creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes