Maciej Bryński created FLINK-22311:
--------------------------------------

             Summary: Flink JDBC XA connector need to set maxRetries to 0 to 
properly working
                 Key: FLINK-22311
                 URL: https://issues.apache.org/jira/browse/FLINK-22311
             Project: Flink
          Issue Type: Bug
            Reporter: Maciej Bryński


Hi,
We're using XA connector from Flink 1.13 in one of our projects and we were 
able to create duplicates of records during write to Oracle.

The reason was that default MAX_RETRIES in JdbcExecutionOptions is 3 and this 
can cause duplicates in DB.
I think we should at least mention this in docs or even validate this option 
when creating XA Sink.

In documentation we're using defaults.
https://github.com/apache/flink/pull/10847/files#diff-a585e56c997756bb7517ebd2424e5fab5813cee67d8dee3eab6ddd0780aff627R88



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

Reply via email to