flink
flink copied to clipboard
[FLINK-33973] Add new interfaces for SinkV2 to synchronize the API with the SourceV2 API
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
maptoCommittableSummaryandCommittableWithLineageso 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
CI report:
- ee54a07048685165fb17e3c57ebcd968e959deac Azure: SUCCESS
Bot commands
The @flinkbot bot supports the following commands:@flinkbot run azurere-run the last Azure build
@gyfora: Please merge. We have a green test run. Thx