You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Paul (Jira)" <ji...@apache.org> on 2021/09/24 10:41:00 UTC

[jira] [Assigned] (FLINK-24371) Support SinkWriter preCommit without the need of a committer

     [ https://issues.apache.org/jira/browse/FLINK-24371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabian Paul reassigned FLINK-24371:
-----------------------------------

    Assignee: Fabian Paul

> 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
>
> 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)