You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/12/25 13:30:00 UTC

[jira] [Commented] (FLINK-15389) JDBCUpsertOutputFormat no need to create schedule flush when flushMaxSize = 1

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

Jark Wu commented on FLINK-15389:
---------------------------------

I think you are right. Do you want to contribute it? [~xiaodao]

> JDBCUpsertOutputFormat  no need to create schedule flush when  flushMaxSize = 1
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-15389
>                 URL: https://issues.apache.org/jira/browse/FLINK-15389
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / JDBC
>    Affects Versions: 1.9.1
>            Reporter: xiaodao
>            Priority: Minor
>
> when flushMaxSize set 1; then it will call fush  func every time;  it's no need to create schedule to flush data.
> if (flushIntervalMills != 0)  it's better to modify with
> if (flushIntervalMills != 0 and flushMaxSize != 1)
>  



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