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

Peter Vary updated FLINK-33973:
-------------------------------
    Release Note: 
According to FILP-372 
(https://cwiki.apache.org/confluence/display/FLINK/FLIP-372%3A+Enhance+and+synchronize+Sink+API+to+match+the+Source+API)
 the SinkV2 API has been changed.

The following interfaces are deprecated: TwoPhaseCommittingSink, StatefulSink, 
WithPreWriteTopology, WithPreCommitTopology, WithPostCommitTopology.

The following new interfaces has been introduced: CommitterInitContext, 
CommittingSinkWriter, WriterInitContext, StatefulSinkWriter.

The following interface method's parameter has been changed: Sink.createWriter

The original interfaces will remain available during the 1.19 release line, but 
they will be removed in consecutive releases. For the changes required when 
migrating, please consult the Migration Plan detailed in the FLIP

> Add new interfaces for SinkV2 to synchronize the API with the SourceV2 API
> --------------------------------------------------------------------------
>
>                 Key: FLINK-33973
>                 URL: https://issues.apache.org/jira/browse/FLINK-33973
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>
> Create the new interfaces, set inheritance and deprecation to finalize the 
> interface.
> After this change the new interafaces will exits, but they will not be 
> functional.
> The existing interfaces, and test should be working without issue, to verify 
> that adding the API will be backward compatible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to