Bird
Raised Fist0

What is the role of the "tasks.max" property in a Kafka connector configuration?

easy🧠 Conceptual Q1 of Q15
Kafka - Connect
What is the role of the "tasks.max" property in a Kafka connector configuration?
AIt defines the maximum size of messages the connector can handle.
BIt sets the maximum number of tasks to create for parallel processing.
CIt specifies the maximum number of connectors that can run simultaneously.
DIt limits the maximum retry attempts for failed tasks.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of tasks in Kafka Connect

    Tasks allow a connector to split work and run in parallel for better throughput.
  2. Step 2: Identify what "tasks.max" controls

    The "tasks.max" property sets the upper limit on how many tasks the connector can create.
  3. Final Answer:

    It sets the maximum number of tasks to create for parallel processing. -> Option B
  4. Quick Check:

    tasks.max = max parallel tasks [OK]
Quick Trick: tasks.max controls parallelism, not message size or retries [OK]
Common Mistakes:
MISTAKES
  • Confusing tasks.max with message size limits
  • Thinking tasks.max limits connectors instead of tasks
  • Assuming tasks.max controls retry attempts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes