Hi, While it’s not possible to directly apply an Async I/O operator to a connected stream you can use a two-stage approach: - Have a CoFlatMap that enriches the elements from the first stream based on the second stream - Use an Async I/O operator right after that, on the enriched stream
Would that be an option for you? Best, Aljoscha > On 6. Jul 2017, at 16:17, PedroMrChaves <pedro.mr.cha...@gmail.com> wrote: > > Hello, > > Is there a way to apply the AsyncFunction to connected streams like in a > CoFlatMap? > I would like to connect streams from different types and process one of them > based on the state > created by the other in an asynchronous fashion. > > Regards, > Pedro Chaves > > > > ----- > Best Regards, > Pedro Chaves > -- > View this message in context: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Can-AsyncFunction-be-applied-to-connected-streams-tp14137.html > Sent from the Apache Flink User Mailing List archive. mailing list archive at > Nabble.com.