[
https://issues.apache.org/jira/browse/FLINK-9343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487153#comment-16487153
]
ASF GitHub Bot commented on FLINK-9343:
---------------------------------------
Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/5996
I had a quick look at the code example, and it looks like it might not
actually do asynchronous I/O.
It dispatches a synchronous HTTP request on a direct executor
(`onComplete`s in a direct executor as well), which should result us purely
synchronous operations.
Have you verified that this does in fact send off multiple requests
concurrently (beyond the parallelism)?
> Add Async Example with External Rest API call
> ---------------------------------------------
>
> Key: FLINK-9343
> URL: https://issues.apache.org/jira/browse/FLINK-9343
> Project: Flink
> Issue Type: Improvement
> Components: Examples
> Affects Versions: 1.4.0, 1.4.1, 1.4.2
> Reporter: Yazdan Shirvany
> Assignee: Yazdan Shirvany
> Priority: Minor
>
> Async I/O is a good way to call External resources such as REST API and
> enrich the stream with external data.
> Adding example to simulate Async GET api call on an input stream.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)