You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Leonard Xu (Jira)" <ji...@apache.org> on 2020/05/31 05:51:00 UTC
[jira] [Commented] (FLINK-18041) Make a little bit improvement for
DEFAULT_FLUSH_MAX_SIZE and DEFAULT_FLUSH_INTERVAL_MILLS of
AbstractJdbcOutputFormat
[ https://issues.apache.org/jira/browse/FLINK-18041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120415#comment-17120415 ]
Leonard Xu commented on FLINK-18041:
------------------------------------
Thanks [~sunjincheng121] for the report,
I like the idea from usability consideration, but this should be one duplicate issue with https://issues.apache.org/jira/browse/FLINK-16497,
And the similar issue includes
https://issues.apache.org/jira/browse/FLINK-16495,
https://issues.apache.org/jira/browse/FLINK-16496,
> Make a little bit improvement for DEFAULT_FLUSH_MAX_SIZE and DEFAULT_FLUSH_INTERVAL_MILLS of AbstractJdbcOutputFormat
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-18041
> URL: https://issues.apache.org/jira/browse/FLINK-18041
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / JDBC
> Affects Versions: 1.10.0, 1.10.1, 1.11.0
> Reporter: sunjincheng
> Priority: Major
>
> Recently, when some users are learning Flink, they encounter a big problem, that is, why Flink can't write to MySQL in real time.
> The root cause is that there is little data when testing and the default value for DEFAULT_FLUSH_MAX_SIZE is 5000, and DEFAULT_FLUSH_INTERVAL_MILLS is 0.
> [https://github.com/apache/flink/blob/release-1.10/flink-connectors/flink-jdbc/src/main/java/org/apache/flink/api/java/io/jdbc/AbstractJDBCOutputFormat.java]
> So, I think would be great to make a little bit improvement for the default value. Such as
> DEFAULT_FLUSH_MAX_SIZE = 1.
> What do you think?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)