Kafka - Multi-Datacenter and ReplicationIf MirrorMaker 2 is set with 'emit.heartbeats.enabled' to false, what is the impact?AReplication speed increases significantlyBTopics are automatically deleted after replicationCNo heartbeat messages are sent to monitor replication healthDSource cluster stops producing messagesCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand 'emit.heartbeats.enabled' roleThis setting controls whether heartbeat messages are sent to track replication status.Step 2: Analyze effects of disabling heartbeatsDisabling heartbeats means no monitoring messages are sent; it does not affect speed, topic deletion, or source production.Final Answer:No heartbeat messages are sent to monitor replication health -> Option CQuick Check:emit.heartbeats.enabled false = no heartbeats sent [OK]Quick Trick: Disable heartbeats with 'emit.heartbeats.enabled=false' [OK]Common Mistakes:MISTAKESAssuming replication speed changesThinking topics get deleted automaticallyBelieving source cluster stops producing
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