Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status

Current state: Under DiscussionReleased

Discussion thread:  here (<- link to https://mail-archiveslists.apache.org/mod_mbox/flink-dev/)

JIRAhere (<- link to https://issues.apache.org/jira/browse/FLINK-XXXX)

thread/hod6bg421bzwhbfv60lwsck7r81dvo59

JIRA:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyFLINK-35378

Released: 1.20Released: <Flink Version>

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

This FLIP proposes to promote the Unified Sink API V2 from PublicEvolving to Public and to mark the SinkFunction as Deprecated. Since its introduction in Flink 1.12, the Unified Sink API has undergone extensive development and testing, evidenced by its evolution across multiple FLIPs and its adoption in major connectors like Kafka, CassandraFileSystem, and Elasticsearch AWS since Flink 1.14 and beyond. Over more then four release cycles, the API has demonstrated stability and robustness, aligning with the criteria set forth in FLIP-197 for API stability graduation. This promotion is expected to encourage wider adoption by signaling the API’s maturity and reliability to the user base. This step is essential for standardizing Flink’s API landscape, much like the transition from SourceFunction to Source API, thereby enhancing the framework's overall functionality and maintainability.

...

FLIPNoteAPI AnnotationReleased with
FLIP-143: Unified Sink APIIntroduction of new Unified Sink APIExperimental Flink 1.12
FLIP-177: Extend Sink APIExtends Unified Sink APIExperimental Flink 1.14
FLIP-171: Async SinkIntroduces generic Async Sink API, based on the Unified Sink APIPublicEvolvingFlink 1.15
FLIP-191: Extend unified Sink interface to support small file compactionExtends Unified Sink API with introduction of SinkV2

Sink: Experimental to PublicEvolving  and Deprecated 

SinkV2: PublicEvolving 

Flink 1.15
FLIP-371: Provide initialization context for Committer creation in TwoPhaseCommittingSink

Added ability to emit metrics from the committer

SinkV2: PublicEvolving 

Flink 1.19
FLIP-372: Enhance and synchronize Sink API to match the Source API

Changed the Sink V2 API so that it uses mixin interfaces to enhance the extendibility of the API, similar to the Source API.

SinkV2: PublicEvolving 

Flink 1.19

...