Kafka - Multi-Datacenter and ReplicationYou configured MirrorMaker with a whitelist of topics but it replicates all topics. What is the likely error?AIncorrect regex pattern in whitelistBUsing --whitelist instead of --topicsCMissing producer config fileDKafka brokers are downCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand whitelist usage in MirrorMakerThe whitelist expects a regex pattern to filter topics.Step 2: Identify cause of replicating all topicsAn incorrect or too broad regex matches all topics, causing full replication.Final Answer:Incorrect regex pattern in whitelist -> Option AQuick Check:Whitelist regex controls topic filtering [OK]Quick Trick: Whitelist uses regex; wrong pattern replicates all [OK]Common Mistakes:Confusing --whitelist with --topics flagIgnoring regex syntax errorsAssuming missing producer config causes this
Master "Multi-Datacenter and Replication" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Event-Driven Architecture - Event sourcing pattern - Quiz 14medium Event-Driven Architecture - Event sourcing pattern - Quiz 5medium Kubernetes and Cloud Deployment - Confluent Cloud overview - Quiz 1easy Kubernetes and Cloud Deployment - Kafka on Kubernetes (Strimzi) - Quiz 10hard Multi-Datacenter and Replication - Why multi-datacenter ensures availability - Quiz 13medium Performance Tuning - Batch size and compression tuning - Quiz 4medium Performance Tuning - Batch size and compression tuning - Quiz 1easy Performance Tuning - Producer throughput optimization - Quiz 14medium Performance Tuning - Disk I/O optimization - Quiz 14medium Security - Security best practices - Quiz 6medium