[
https://issues.apache.org/jira/browse/FLINK-13767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Nowojski closed FLINK-13767.
----------------------------------
Fix Version/s: 1.10.0
Resolution: Fixed
Merged to master as f41bda61f4dc73f3625ccb7347fa9c2db4d298df
> Refactor StreamInputProcessor#processInput based on InputStatus
> ---------------------------------------------------------------
>
> Key: FLINK-13767
> URL: https://issues.apache.org/jira/browse/FLINK-13767
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Network, Runtime / Task
> Reporter: zhijiang
> Assignee: zhijiang
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> StreamInputProcessor#processInput could return InputStatus instead of current
> boolean value to keep consistent with PushingAsyncDataInput#emitNext.
> For the implementation of StreamTwoInputProcessor#processInput, we could
> maintain and judge the two input status together with the next selected input
> index to determine the final precise status. To do so we could avoid invalid
> processInput call except for the first call.
> In addition, AvailabilityProvider#isFinished has the duplicated semantic
> with InputStatus#END_OF_INPUT for PushingAsyncDataInput, and it is only
> meaningful for PullingAsyncDataInput now. So we migrate the #isFinished
> method from AvailabilityProvider to PullingAsyncDataInput.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)