Kafka - ConnectWhat will happen if a Kafka source connector's 'tasks.max' is set to 3 but the connector only supports a single task?AOnly one task will run despite 'tasks.max' being 3BThree tasks will run concurrentlyCConnector will fail to startDKafka will ignore the connectorCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand 'tasks.max' meaning'tasks.max' is the maximum tasks allowed, but actual tasks depend on connector capability.Step 2: Check connector task supportIf connector supports only one task, only one will run regardless of 'tasks.max'.Final Answer:Only one task will run despite 'tasks.max' being 3 -> Option AQuick Check:tasks.max limits max, actual tasks depend on connector [OK]Quick Trick: 'tasks.max' is max, not guaranteed tasks [OK]Common Mistakes:MISTAKESAssuming tasks.max forces that many tasksExpecting connector failure due to mismatchThinking Kafka ignores connector
Master "Connect" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Kafka with Java/Python - Error handling in clients - Quiz 13medium Kafka with Java/Python - Configuration best practices - Quiz 5medium Kafka with Java/Python - Configuration best practices - Quiz 14medium Kafka with Java/Python - Error handling in clients - Quiz 8hard Kafka with Java/Python - Error handling in clients - Quiz 12easy Message Delivery Semantics - Transactional producer - Quiz 9hard Monitoring and Operations - Why monitoring prevents outages - Quiz 14medium Monitoring and Operations - Consumer lag monitoring - Quiz 5medium Schema Registry - Why schema management prevents data issues - Quiz 13medium Schema Registry - JSON Schema and Protobuf support - Quiz 7medium