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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)