Kafka - ConnectWhat happens if a Kafka Connect worker fails in a distributed cluster?AAll connectors stop working until the failed worker restartsBThe cluster shuts down completelyCOther workers automatically take over the failed worker's tasksDThe failed worker's connectors are lost permanentlyCheck Answer
Step-by-Step SolutionSolution:Step 1: Recall fault tolerance in distributed modeKafka Connect distributed mode supports failover; other workers take over tasks.Step 2: Check other options for correctnessConnectors do not stop cluster-wide, cluster does not shut down, and tasks are not lost permanently.Final Answer:Other workers automatically take over the failed worker's tasks -> Option CQuick Check:Worker failure = Automatic task takeover [OK]Quick Trick: Distributed workers handle failover automatically [OK]Common Mistakes:MISTAKESBelieving cluster stops on worker failureAssuming connectors are lost permanentlyConfusing standalone mode behavior
Master "Connect" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Kafka Connect - Common connectors (JDBC, S3, Elasticsearch) - Quiz 3easy Kafka Connect - Connector configuration - Quiz 11easy Kafka with Java/Python - Why SDK integration enables applications - Quiz 12easy Kafka with Java/Python - Error handling in clients - Quiz 6medium Message Delivery Semantics - Exactly-once semantics (EOS) - Quiz 12easy Monitoring and Operations - Key broker metrics - Quiz 14medium Monitoring and Operations - JMX metrics - Quiz 7medium Schema Registry - Schema validation in producers - Quiz 13medium Schema Registry - JSON Schema and Protobuf support - Quiz 14medium Schema Registry - Schema compatibility rules - Quiz 15hard