nerdexam
Confluent

CCDAK · Question #201

You need to configure a sink connector to write records that fail into a dead letter queue topic. Requirements: - Topic name: 'DLQ-Topic' - Headers containing error context need to be added to the…

The correct answer is A. errors.tolerance=all B. errors.deadletterqueue.topic.name=DLQ-Topic C. errors.deadletterqueue.context.headers.enable=true. errors.tolerance=all enables the connector to continue processing and handle errors by routing errors.deadletterqueue.topic.name=DLQ-Topic specifies the dead letter queue topic name. errors.deadletterqueue.context.headers.enable=true ensures error context headers are included…

Developing with Kafka Connect

Question

You need to configure a sink connector to write records that fail into a dead letter queue topic. Requirements:

  • Topic name: 'DLQ-Topic'
  • Headers containing error context need to be added to the messages

written to the dead letter queue topic Which three configuration parameter settings are necessary to implement his requirement? (Choose three.)

Options

  • Aerrors.tolerance=all
  • Berrors.deadletterqueue.topic.name=DLQ-Topic
  • Cerrors.deadletterqueue.context.headers.enable=true
  • Derrors.tolerance=none
  • Eerrors.log.enable=true
  • Ferrors.log.include.messages=true

How the community answered

(30 responses)
  • A
    83% (25)
  • D
    3% (1)
  • E
    10% (3)
  • F
    3% (1)

Explanation

errors.tolerance=all enables the connector to continue processing and handle errors by routing errors.deadletterqueue.topic.name=DLQ-Topic specifies the dead letter queue topic name. errors.deadletterqueue.context.headers.enable=true ensures error context headers are included with messages sent to the DLQ topic.

Topics

#dead letter queue#sink connector#errors.tolerance#DLQ headers

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice