Kafka - Multi-Datacenter and ReplicationHow can you ensure MirrorMaker 2 replicates topic configurations along with data?AIncrease 'tasks.max' to 10BSet 'emit.heartbeats.enabled' to trueCUse 'source.cluster.bootstrap.servers' onlyDEnable 'sync.topic.configs.enabled' in the MirrorMaker 2 configCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify config sync propertyMirrorMaker 2 supports syncing topic configurations when 'sync.topic.configs.enabled' is set to true.Step 2: Eliminate unrelated settingsHeartbeats, cluster bootstrap servers, and task count do not control config replication.Final Answer:Enable 'sync.topic.configs.enabled' in the MirrorMaker 2 config -> Option DQuick Check:Topic config sync = sync.topic.configs.enabled true [OK]Quick Trick: Set 'sync.topic.configs.enabled=true' to replicate configs [OK]Common Mistakes:MISTAKESConfusing heartbeats with config syncIgnoring config sync propertyThinking task count affects config replication
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