Kafka - Cluster ArchitectureWhy must each Kafka broker have a unique broker.id in a cluster?ATo uniquely identify brokers for partition assignment and metadata managementBTo enable brokers to share the same log directoriesCTo allow brokers to use the same network portDTo synchronize clocks across brokersCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand broker.id purposebroker.id uniquely identifies each broker for managing partitions and cluster metadata.Step 2: Analyze other optionsSharing log directories or ports causes conflicts; clock sync is unrelated to broker.id.Final Answer:To uniquely identify brokers for partition assignment and metadata management -> Option AQuick Check:Unique broker.id = unique broker identity [OK]Quick Trick: Unique broker.id prevents conflicts in cluster metadata [OK]Common Mistakes:Thinking broker.id controls ports or logsConfusing broker.id with time synchronizationAssuming broker.id can be duplicated
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 9hard Consumer Groups - Rebalancing behavior - Quiz 2easy Consumer Groups - Static group membership - Quiz 11easy Consumers - Auto-commit vs manual commit - Quiz 11easy Kafka Basics and Event Streaming - Kafka vs RabbitMQ vs Redis Pub/Sub - Quiz 7medium Kafka Basics and Event Streaming - Message broker architecture - Quiz 9hard Producers - Partitioner behavior - Quiz 11easy Producers - Message key and value - Quiz 8hard Topics and Partitions - Topic creation - Quiz 3easy Topics and Partitions - Topic creation - Quiz 6medium