Re: [akka-user] Merging more than two Akka Stream Sources with materialized values

2016-09-26 Thread oleksiys
Thank you Patrik! On Saturday, September 24, 2016 at 10:10:03 AM UTC-7, Patrik Nordwall wrote: > > Take a look at MergeHub. It's rather new. > http://doc.akka.io/docs/akka/2.4/scala/stream/stream-dynamic.html > > /Patrik > lör 24 sep. 2016 kl. 00:53 skrev oleksiys >: > >> Hi

Re: [akka-user] Merging more than two Akka Stream Sources with materialized values

2016-09-24 Thread Patrik Nordwall
Take a look at MergeHub. It's rather new. http://doc.akka.io/docs/akka/2.4/scala/stream/stream-dynamic.html /Patrik lör 24 sep. 2016 kl. 00:53 skrev oleksiys : > Hi guys, > > I need to merge mutliple sources Seq[Source[A, Mat]] and as an output get > something like Source[A,

[akka-user] Merging more than two Akka Stream Sources with materialized values

2016-09-23 Thread oleksiys
Hi guys, I need to merge mutliple sources Seq[Source[A, Mat]] and as an output get something like Source[A, Seq[Mat]]. For now I just merge sources in pairs using mergeMat, but I have a doubt that the merged Source will distribute the demand fairly among the underlying sources, because AFAIK