Ask Your Question
3

How can the Couchbase Sink Kafka Connector be configured to disregard errors and proceed with the operation?

asked 2021-07-06 11:00:00 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-02-01 11:00:00 +0000

nofretete gravatar image

To configure the Couchbase Sink Kafka Connector to disregard errors and proceed with the operation, add the following configuration properties:

  • errors.tolerance: set this to "all" to indicate that all errors should be tolerated.
  • errors.log.enable: set this to "true" to enable logging of errors.
  • errors.deadletterqueue.topic.name: set this to the name of the topic to which failed messages should be sent.

Here is an example of how to configure the Couchbase Sink Kafka Connector to ignore errors:

name=couchbase-sink
tasks.max=1
connector.class=com.couchbase.connect.kafka.CouchbaseSinkConnector
topics=test-topic
couchbase.seed.nodes=localhost
couchbase.bucket=test
couchbase.username=test
couchbase.password=test
errors.tolerance=all
errors.log.enable=true
errors.deadletterqueue.topic.name=failed-messages
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-07-06 11:00:00 +0000

Seen: 8 times

Last updated: Feb 01 '23