pvary opened a new pull request, #23912: URL: https://github.com/apache/flink/pull/23912
## What is the purpose of the change Mixin based implementation for [FLIP-372](https://cwiki.apache.org/confluence/display/FLINK/FLIP-372%3A+Allow+TwoPhaseCommittingSink+WithPreCommitTopology+to+alter+the+type+of+the+Committable) For now, just checking backward compatibility of the API changes ## Brief change log - Moving inner classes to main classes: - `CommitterInitContext` from `Sink.CommitterInitContext` - `CommittingSinkWriter` from `TwoPhaseCommittingSink.PrecommittingSinkWriter` - `StatefulSinkWriter` from `StatefulSink.StatefulSinkWriter` - `WriterInitContext` from `Sink.InitContext` - Moving to mixin interfaces: - `SupportsCommitter` from `TwoPhaseCommittingSink` - `SupportsWriterState` from `StatefulSink` - `SupportsPostCommitTopology` from `WithPostCommitToplogy` - `SupportsPreCommitTopology` from `WithPreCommitTopology` - `SupportsPreWriteTopology` from `WithPreWriteTopology` - Deprecation methods with default implementations - Few internal changes to make everything work ## Verifying this change The CI will run all the tests to see if the change breaks anything ## 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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org