[
https://issues.apache.org/jira/browse/FLINK-24371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arvid Heise resolved FLINK-24371.
---------------------------------
Resolution: Fixed
Merged into master as
44bbd1df377e40f715cca529e5c2ab675c43ff36..4fe9f525a92319acc1e3434bebed601306f7a16f,
into 1.14 as
aacdf554ceaef950a7a8c478d549e720df27be6b..770684b71756f00c903574daa7096dd686591218.
> Support SinkWriter preCommit without the need of a committer
> ------------------------------------------------------------
>
> Key: FLINK-24371
> URL: https://issues.apache.org/jira/browse/FLINK-24371
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream, Connectors / Common
> Affects Versions: 1.14.0, 1.15.0
> Reporter: Fabian Paul
> Assignee: Fabian Paul
> Priority: Major
> Labels: pull-request-available
>
> For some sinks i.e. elasticsearch we only want to listen for the snapshot
> barrier once retrieved the sink flushes the buffered records.
> These sinks do not snapshot any state thus do not implement the
> `snapshotState()` method.
> We already have a NoopCommitHandler which swallows the passed committables
> but it should at least call `preCommit()` on the SinkWriter.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)