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 <kvr...@gmail.com <javascript:>
> >:
>
>> 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 my merged source will finally look like: 
>> (source-1, (source-2, (source-3 ... (source-N-1, source-N)...)))) and 
>> assuming random demand distribution - the larger the N is - less chances 
>> that source-N will ever see any demand. Is that correct?
>>
>> There is a Source.combine method, that does almost exactly what I need, 
>> but unfortunately it wipes all the Mats information.
>>
>> Do you have any suggestion how I can achieve that?
>>
>> Thank you!
>>
>> WBR,
>> Alexey
>>
>> -- 
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to