You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ejaskhan (Jira)" <ji...@apache.org> on 2025/07/24 23:01:00 UTC
[jira] [Created] (KAFKA-19547) Kafka Sink Improvement: Add failOnError to Control Exception Behavior
Ejaskhan created KAFKA-19547:
--------------------------------
Summary: Kafka Sink Improvement: Add failOnError to Control Exception Behavior
Key: KAFKA-19547
URL: https://issues.apache.org/jira/browse/KAFKA-19547
Project: Kafka
Issue Type: Improvement
Reporter: Ejaskhan
Attachments: image-2025-07-25-00-56-15-542.png
Currently, even if the delivery guarantee is set to {*}NONE{*}, the Kafka sink throws an exception, which results in job restarts.
!image-2025-07-25-00-56-15-542.png!
*Proposal:* Introduce a new configuration parameter, {{{}failOnError{}}}, in {{KafkaSinkBuilder}} to suppress throwing the error and log it instead. With this change, exceptions from the Kafka cluster will no longer result in job restarts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)