Kafka - Multi-Datacenter and ReplicationWhy does MirrorMaker 2 use Kafka Connect framework instead of just Kafka Producer and Consumer APIs?AKafka Connect provides scalable, fault-tolerant connectors for replicationBProducer and Consumer APIs cannot connect to multiple clustersCKafka Connect compresses data automaticallyDProducer and Consumer APIs do not support topic creationCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand Kafka Connect advantagesKafka Connect offers scalable, fault-tolerant connectors that simplify replication management.Step 2: Evaluate limitations of Producer and Consumer APIsProducer and Consumer APIs can connect to clusters but lack built-in fault tolerance and scalability for replication tasks.Step 3: Eliminate incorrect reasonsCompression and topic creation are not main reasons for using Kafka Connect.Final Answer:Kafka Connect provides scalable, fault-tolerant connectors for replication -> Option AQuick Check:Kafka Connect = scalable, fault-tolerant replication [OK]Quick Trick: Kafka Connect enables scalable, fault-tolerant replication [OK]Common Mistakes:MISTAKESThinking Producer/Consumer APIs can't connect to clustersAssuming Kafka Connect compresses dataBelieving Producer/Consumer APIs handle topic creation
Master "Multi-Datacenter and Replication" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Advanced Stream Processing - Error handling in streams - Quiz 4medium Advanced Stream Processing - Why advanced patterns handle complex flows - Quiz 10hard Event-Driven Architecture - Why event-driven scales applications - Quiz 1easy Event-Driven Architecture - Dead letter queue pattern - Quiz 11easy Event-Driven Architecture - CQRS pattern - Quiz 3easy Kubernetes and Cloud Deployment - Why cloud-native deployment matters - Quiz 5medium Kubernetes and Cloud Deployment - Amazon MSK - Quiz 9hard Performance Tuning - Consumer throughput optimization - Quiz 12easy Security - Security best practices - Quiz 13medium Security - SSL/TLS encryption - Quiz 6medium