smattheis opened a new pull request, #20485: URL: https://github.com/apache/flink/pull/20485
## What is the purpose of the change * The change implements FLIP-217 (https://cwiki.apache.org/confluence/display/FLINK/FLIP-217+Support+watermark+alignment+of+source+splits) to support watermark alignment of source splits. ## Brief change log * Revised `SplitFetcher` threading model and add support to pause/resume `SplitFetcher` * Adds support for watermark alignment of individual source splits controlled by `SourceOperator` * Adds support for split watermark alignment for Kafka and Pulsar sources * Adds configuration parameter to allow unaligned splits as migration plan to support legacy sources that lack support for split alignment ## Verifying this change This change added and extended tests and can be verified as follows: * `SplitFetcherTest` extended to test pause/resume of`SplitFetcher` * `SourceOperatorSplitWatermarkAlignmentTest` added to test split alignment based on split reader watermarks * `SplitFetcherPauseResumeSplitReaderITCase` added to test pause/resume of individual split readers ## 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** (according to FLIP-217) - The serializers: **no** - The runtime per-record code paths (performance sensitive): **no** - Anything that affects deployment or recovery: **no** - The S3 file system connector: **no** ## Documentation - Does this pull request introduce a new feature? **yes** - If yes, how is the feature documented? **docs** (configuration parameter) and **JavaDocs** (changes of public APIs) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
