[ 
https://issues.apache.org/jira/browse/FLINK-10327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612390#comment-16612390
 ] 

ASF GitHub Bot commented on FLINK-10327:
----------------------------------------

pnowojski opened a new pull request #6687: [FLINK-10327][streaming] Expose 
processWatermarks notifications to (Co)ProcessFunction
URL: https://github.com/apache/flink/pull/6687
 
 
   This PR exposes hooks for `processWatermark`, `processWatermark1` and 
`processWatermark2` to `ProcessFunction` and `CoProcessFunction`.
   
   ## Verifying this change
   
   Added new tests to `ProcessOperatorTest` and `CoProcessOperatorTest`
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / **no**)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (**yes** / no)
     - The serializers: (yes / **no** / don't know)
     - The runtime per-record code paths (performance sensitive): (yes / **no** 
/ don't know)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
     - The S3 file system connector: (yes / **no** / don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (**yes** / no)
     - If yes, how is the feature documented? (not applicable / docs / 
**JavaDocs** / not documented)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Pass processWatermark calls from (Co)ProcessOperator to (Co)ProcessFunction
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-10327
>                 URL: https://issues.apache.org/jira/browse/FLINK-10327
>             Project: Flink
>          Issue Type: New Feature
>          Components: Streaming
>            Reporter: Piotr Nowojski
>            Assignee: Shimin Yang
>            Priority: Major
>              Labels: pull-request-available
>
> Currently {{CoProcessFunction}} can not react to changes watermark 
> advancement. By passing {{processWatermark}} calls to function we would give 
> a way to perform some actions on watermark advancement, like state clean up 
> or emitting some results after accumulating some data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to