You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (Jira)" <ji...@apache.org> on 2020/05/23 15:31:00 UTC

[jira] [Resolved] (FLINK-17854) Use InputStatus directly in user-facing async input APIs (like source readers)

     [ https://issues.apache.org/jira/browse/FLINK-17854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen resolved FLINK-17854.
----------------------------------
    Resolution: Fixed

Fixed in 1.11.0 via
  - 17d3f05ff5d2c286610386e751cafaf4837b2151
  - a0abaafd8bd066ecaf0040cc0b021e1821156dae

Fixed in 1.12.0 (master) via
  - d2559d14ac8f814219a3e4c5e81b77c36b610688
  - d0f9892c58fdb819dc66737b49d7a1f04dde2036



> Use InputStatus directly in user-facing async input APIs (like source readers)
> ------------------------------------------------------------------------------
>
>                 Key: FLINK-17854
>                 URL: https://issues.apache.org/jira/browse/FLINK-17854
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Core
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>
> The flink-runtime uses the {{InputStatus}} enum in its {{PushingAsyncDataInput}}.
> The flink-core {{SourceReader}} has a separate enum with the same purpose.
> In the {{SourceOperator}} we need to bridge between these two, which is clumsy and a bit inefficient.
> We can simply make {{InputStatus}} part of {{flink-core}} I/O packages and use it in the {{SourceReader}}, to avoid having to bridge it and the runtime part.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)