zhangyue19921010 opened a new pull request, #30197: URL: https://github.com/apache/flink/pull/30197
## What is the purpose of the change The DataStream V2 guide says that popping a watermark lets the framework forward it. A function that returns `POLL` and relies on automatic forwarding can leave downstream operators without that watermark. [FLINK-41734](https://issues.apache.org/jira/browse/FLINK-41734) ## Brief change log Explain that `PEEK` applies the declared strategy, including the default `FORWARD`. With `POLL`, the function controls whether to emit the watermark. ## Verifying this change Ran three existing `WatermarkITCase` methods on a local mini cluster. In a separate run, checked both subtasks of the downstream operator after each case. Both received zero watermarks for `POLL` and for `PEEK` with `IGNORE`. With `PEEK` and the default `FORWARD` strategy, both received the final watermark value of 2. ## Does this pull request potentially affect one of the following parts The edits are confined to the DataStream V2 watermark guide in both documentation trees. ## Documentation Updated the handling strategy description under Define and Declare Watermark. -- 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]
