Kafka - Cluster ArchitectureIn KRaft mode, how can you ensure high availability of the metadata quorum?AUse a single powerful controller node with multiple CPUsBDeploy an odd number of controller nodes across different machinesCRun ZooKeeper alongside KRaft controllers for backupDIncrease the replication factor of Kafka topicsCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand quorum requirementsHigh availability requires an odd number of controller nodes to maintain quorum during failures.Step 2: Exclude incorrect methodsSingle node is a single point of failure, ZooKeeper is not used in KRaft, and topic replication does not affect metadata quorum.Final Answer:Deploy an odd number of controller nodes across different machines -> Option BQuick Check:Odd controller nodes = high availability [OK]Quick Trick: Use odd number of controllers for quorum HA [OK]Common Mistakes:Relying on single controller nodeMixing ZooKeeper with KRaft modeConfusing topic replication with metadata quorum
Master "Cluster Architecture" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Consumer Groups - Why consumer groups enable parallel processing - Quiz 10hard Consumer Groups - Why consumer groups enable parallel processing - Quiz 14medium Consumer Groups - Cooperative vs eager rebalancing - Quiz 2easy Consumers - Consumer poll loop - Quiz 6medium Kafka Basics and Event Streaming - Why Kafka exists - Quiz 8hard Kafka Cluster Architecture - In-sync replicas (ISR) - Quiz 11easy Kafka Cluster Architecture - Broker nodes - Quiz 12easy Producers - Producer retries and idempotency - Quiz 7medium Producers - Message key and value - Quiz 7medium Topics and Partitions - Retention policies (time-based, size-based) - Quiz 2easy