flink icon indicating copy to clipboard operation
flink copied to clipboard

[FLINK-33973] Add new interfaces for SinkV2 to synchronize the API with the SourceV2 API

Open pvary opened this issue 1 year ago • 1 comments

What is the purpose of the change

Add new SinkV2 API interfaces, set inheritance and deprecation for the old interfaces.

Added fix for the concurrent commit

Brief change log

All the new API's defined in FLIP-372

One minor additional change:

  • Added map to CommittableSummary and CommittableWithLineage so it will be easier to map when the types are changed.

Verifying this change

The existing tests should run without issue, to verify the backward compatibility.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): no
  • The public API, i.e., is any changed class annotated with @Public(Evolving): yes
  • The serializers: no
  • The runtime per-record code paths (performance sensitive): no
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
  • The S3 file system connector: no

Documentation

  • Does this pull request introduce a new feature? yes
  • If yes, how is the feature documented? not documented

pvary avatar Jan 12 '24 10:01 pvary

CI report:

  • ee54a07048685165fb17e3c57ebcd968e959deac Azure: SUCCESS
Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

flinkbot avatar Jan 12 '24 10:01 flinkbot

@gyfora: Please merge. We have a green test run. Thx

pvary avatar Jan 16 '24 05:01 pvary