You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (Jira)" <ji...@apache.org> on 2021/07/05 19:53:00 UTC
[jira] [Updated] (FLINK-21367) Support objectReuse in JDBC sink
[ https://issues.apache.org/jira/browse/FLINK-21367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen updated FLINK-21367:
---------------------------------
Labels: pull-request-available (was: auto-deprioritized-major auto-unassigned pull-request-available)
> Support objectReuse in JDBC sink
> --------------------------------
>
> Key: FLINK-21367
> URL: https://issues.apache.org/jira/browse/FLINK-21367
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / JDBC
> Reporter: Roman Khachatryan
> Priority: Critical
> Labels: pull-request-available
>
> Currently, if object reuse is enabled then JDBC sink factories will throw an exception. This prevents some use cases including recent one with Stateful Functions [1].
> To overcome this, JdbcBatchingOutputFormat can implement InputTypeConfigurable and use the obtained serializer to copy the record if object reuse is enabled.
> [1] http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Stateful-Functions-JDBC-Sink-Problems-td41265.html
> cc: [~igal], [~jark]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)