On Fri, Jan 23, 2015 at 7:02 AM, Alexey Romanchuk <
[email protected]> wrote:

> Hey!
>
> Also there is not straightforward how backpressure works with Broadcast.
> What if one of the outputs is busy and another one is requesting for for
> new elements?
>

It will backpressure and adapt the rate for the slower consumer. Usually
all elements are assumed to be non-dropping and properly backpressured
unless stated otherwise, but I guess it is better to document this
explicitly. You might want to look at this recipe to change this behavior,
too:
http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0-M2/scala/stream-cookbook.html#Dropping_broadcast

-Endre


> As far as I understand from sources (Broadcast and
> outputBunch.AllOfMarkedOutputs) broadcast will emit new elements to
> downstream only when all substreams demand for new element. Is it correct?
> I think we should add this to docs.
>
> Thanks!
>
>
> среда, 21 января 2015 г., 9:01:00 UTC+6 пользователь Alexey Romanchuk
> написал:
>
>> Hi again, hakkers!
>>
>> I can not find any documentation about conditions when juntions becomes
>> completed and how junctions propagate errors. Something like "Merge
>> completes when all of his input completes". Also there is no such cases in
>> unit tests.
>>
>> Am I miss something? Sure this information can be found in sources, but I
>> think it should be documentation.
>>
>  --
> >>>>>>>>>> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to