You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ejaskhan (Jira)" <ji...@apache.org> on 2025/08/12 04:17:00 UTC

[jira] [Created] (FLINK-38226) Kafka Sink Improvement: Add failOnError to Control Exception Behavio

Ejaskhan created FLINK-38226:
--------------------------------

             Summary: Kafka Sink Improvement: Add failOnError to Control Exception Behavio
                 Key: FLINK-38226
                 URL: https://issues.apache.org/jira/browse/FLINK-38226
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Kafka
            Reporter: Ejaskhan


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)