[ 
https://issues.apache.org/jira/browse/FLINK-16325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251102#comment-17251102
 ] 

Jark Wu commented on FLINK-16325:
---------------------------------

[~todd5167], however, the {{JdbcBatchingOutputFormat#attemptFlush}} will call 
{{jdbcStatementExecutor.executeBatch()}} which re-add values into the 
statement. So I think there no data lose. 

We also have a similar discussion in the PR of FLINK-19723.

>  A connection check is required, and it needs to be reopened when the JDBC 
> connection is interrupted
> ----------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-16325
>                 URL: https://issues.apache.org/jira/browse/FLINK-16325
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / JDBC
>    Affects Versions: 1.10.0
>            Reporter: renjianxu
>            Priority: Minor
>
> JDBCOutputFormat#writeRecord.
> When writing data, if the JDBC connection has been disconnected, the data 
> will be lost.Therefore, a connectivity judgment is required in the 
> writeRecord method.
>  



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

Reply via email to