Bird
0
0

What will be the output if a Kafka Connect connector is configured with errors.tolerance=all and errors.deadletterqueue.topic.name=dlq-topic when a record fails processing?

medium📝 Predict Output Q5 of 15
Kafka - Event-Driven Architecture
What will be the output if a Kafka Connect connector is configured with errors.tolerance=all and errors.deadletterqueue.topic.name=dlq-topic when a record fails processing?
AThe connector stops immediately on the first error.
BThe failed record is sent to 'dlq-topic' and processing continues.
CThe failed record is retried endlessly without DLQ involvement.
DThe failed record is logged but not sent to any topic.
Step-by-Step Solution
Solution:
  1. Step 1: Understand errors.tolerance=all

    This setting tells the connector to tolerate all errors and not stop processing on failures.
  2. Step 2: Recognize DLQ topic usage

    With a DLQ topic configured, failed records are sent there for later analysis.
  3. Final Answer:

    The failed record is sent to 'dlq-topic' and processing continues. -> Option B
  4. Quick Check:

    errors.tolerance=all + DLQ = send failed records to DLQ [OK]
Quick Trick: errors.tolerance=all + DLQ topic = continue with failed records saved [OK]
Common Mistakes:
  • Assuming connector stops on error with errors.tolerance=all
  • Thinking failed records are endlessly retried
  • Believing failed records are only logged, not sent to DLQ

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes