Bird
Raised Fist0

Why might a sink connector silently drop some records when writing to an external system?

hard🧠 Conceptual Q10 of Q15
Kafka - Connect

Why might a sink connector silently drop some records when writing to an external system?

ABecause Kafka topics do not support duplicates
BBecause sink connectors only process new topics
CBecause of duplicate keys in the sink connector's internal map, last record wins
DBecause tasks.max is set too low
Step-by-Step Solution
Solution:
  1. Step 1: Understand sink connector internal behavior

    Some sink connectors use internal maps keyed by record keys; duplicates overwrite previous entries.
  2. Step 2: Recognize effect on records

    Duplicate keys cause earlier records to be silently dropped, last record wins.
  3. Final Answer:

    Because of duplicate keys in the sink connector's internal map, last record wins -> Option C
  4. Quick Check:

    Duplicate keys overwrite previous records [OK]
Quick Trick: Duplicate keys overwrite previous records in sink connector [OK]
Common Mistakes:
MISTAKES
  • Assuming Kafka topics prevent duplicates
  • Thinking sink connectors skip topics
  • Believing tasks.max affects record dropping

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes