Hady Januar Willi created FLINK-23963:
-----------------------------------------

             Summary: Configuration to only log instead of throwing "Writing 
records to JDBC failed."
                 Key: FLINK-23963
                 URL: https://issues.apache.org/jira/browse/FLINK-23963
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / JDBC
    Affects Versions: 1.13.2
            Reporter: Hady Januar Willi


Currently when a JDBC exception is thrown, such as when unique constraint is 
violated, JDBC sink will throw an `IOException` and the job will stop.

A configuration in JDBC can be useful to catch such error and only log it 
without terminating the job.

Proposed configuration:

sink.exception-handling, with values of `THROW` and `LOG`

If this proposed configuration is accepted, I'm willing to work on the change, 
as this affects the use case I have.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to