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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
xiaodao created FLINK-15389:
-------------------------------

             Summary: 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


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)