Merge streams but run asynchronously

Hello there,

I have 3 streams, each streaming data from different sources. I want to merge these streams as well as run them in parallel.
The Stream.concat function merges streams end to end, so when I use this combined stream, I get data in order. In other words, when the first stream runs out, it switches to the second one, then to the third one.
But I want to run the streams in parallel, and to get data as soon as all resources stream any data.

Thank you all!

Have you seen this thread?

3 Likes

Thank you @Laetitia, I think I can solve the issue with Flow.