Kafka - Multi-Datacenter and ReplicationMirrorMaker 2 replication lags behind. Which misconfiguration might cause this?AUsing 'target.cluster.bootstrap.servers' for source clusterBLow 'tasks.max' value limiting parallelismCSetting 'sync.topic.acls.enabled' to falseDEnabling 'emit.heartbeats.enabled'Check Answer
Step-by-Step SolutionSolution:Step 1: Understand 'tasks.max' impact'tasks.max' controls how many parallel tasks run; a low value can slow replication causing lag.Step 2: Evaluate other optionsACL sync false doesn't cause lag, misusing target cluster config causes connection failure, heartbeats do not slow replication.Final Answer:Low 'tasks.max' value limiting parallelism -> Option BQuick Check:Low tasks.max = replication lag [OK]Quick Trick: Increase 'tasks.max' to reduce lag [OK]Common Mistakes:MISTAKESIgnoring parallelism limitsConfusing ACL sync with performanceMisconfiguring cluster bootstrap servers
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