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/20 23:00:00 UTC

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

Stephan Ewen created FLINK-17854:
------------------------------------

             Summary: 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
             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)