[
https://issues.apache.org/jira/browse/FLINK-25485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-25485:
-----------------------------------
Labels: pull-request-available stale-assigned (was: pull-request-available)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issue is assigned but has not
received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a
comment updating the community on your progress. If this issue is waiting on
feedback, please consider this a reminder to the committer/reviewer. Flink is a
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone
else may work on it.
> JDBC connector implicitly append url options when use mysql
> -----------------------------------------------------------
>
> Key: FLINK-25485
> URL: https://issues.apache.org/jira/browse/FLINK-25485
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / JDBC
> Affects Versions: 1.14.2
> Reporter: Luning Wang
> Assignee: Luning Wang
> Priority: Major
> Labels: pull-request-available, stale-assigned
>
> When we directly use buffer-flush options of the mysql sink
> (sink.buffer-flush.max-rows and sink.buffer-flush.interval) can not increase
> throughput.
> We must set 'rewriteBatchedStatements=true' into mysql jdbc url, for
> 'sink.buffer-flush' to take effect.
> Such as: 'jdbc:mysql://ip:3306/dbname?rewriteBatchedStatements=true'
> I want add a method appendUrlSuffix in MySQLDialect to auto set this jdbc
> option.
> Many users forget or don't know this option.
> Inspired by alibaba DataX.
> [https://github.com/alibaba/DataX/blob/master/plugin-rdbms-util/src/main/java/com/alibaba/datax/plugin/rdbms/util/DataBaseType.java]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)