Bird
Raised Fist0

What happens if a Kafka Connect worker fails in a distributed cluster?

medium📝 Predict Output Q5 of Q15
Kafka - Connect
What happens if a Kafka Connect worker fails in a distributed cluster?
AAll connectors stop working until the failed worker restarts
BThe cluster shuts down completely
COther workers automatically take over the failed worker's tasks
DThe failed worker's connectors are lost permanently
Step-by-Step Solution
Solution:
  1. Step 1: Recall fault tolerance in distributed mode

    Kafka Connect distributed mode supports failover; other workers take over tasks.
  2. Step 2: Check other options for correctness

    Connectors do not stop cluster-wide, cluster does not shut down, and tasks are not lost permanently.
  3. Final Answer:

    Other workers automatically take over the failed worker's tasks -> Option C
  4. Quick Check:

    Worker failure = Automatic task takeover [OK]
Quick Trick: Distributed workers handle failover automatically [OK]
Common Mistakes:
MISTAKES
  • Believing cluster stops on worker failure
  • Assuming connectors are lost permanently
  • Confusing standalone mode behavior

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes