Bird
0
0

You want to implement a Dead Letter Queue pattern that captures failed messages along with the error reason and timestamp. Which Kafka Connect configuration enables this feature?

hard📝 Application Q8 of 15
Kafka - Event-Driven Architecture
You want to implement a Dead Letter Queue pattern that captures failed messages along with the error reason and timestamp. Which Kafka Connect configuration enables this feature?
Aerrors.deadletterqueue.context.enable=false
Berrors.deadletterqueue.topic.name=dlq-topic
Cerrors.tolerance=all
Derrors.deadletterqueue.context.headers.enable=true
Step-by-Step Solution
Solution:
  1. Step 1: Identify how to add error context to DLQ messages

    Setting errors.deadletterqueue.context.headers.enable=true adds error details and timestamp as headers to DLQ messages.
  2. Step 2: Differentiate from other settings

    DLQ topic name and tolerance control routing and error handling but do not add error context headers.
  3. Final Answer:

    errors.deadletterqueue.context.headers.enable=true -> Option D
  4. Quick Check:

    Enable context headers to capture error info in DLQ [OK]
Quick Trick: Enable context.headers to add error info to DLQ messages [OK]
Common Mistakes:
  • Confusing DLQ topic name with error context enabling
  • Assuming errors.tolerance controls error details
  • Disabling context.headers thinking it adds info

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes