You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Roman Khachatryan (Jira)" <ji...@apache.org> on 2021/02/12 11:03:00 UTC
[jira] [Created] (FLINK-21367) Support objectReuse in JDBC sink
Roman Khachatryan created FLINK-21367:
-----------------------------------------
Summary: 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
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)