Re: [akka-user] Re: Is back pressure triggered upon exceptions

2016-10-28 Thread Akka Team
Hi Kunal Streams supervision in its current state is not very usable. Some stages support resume, others do not. If you want to tolerate exceptions at your domain level then you likely need to stream elements of type Try[T] instead or create custom stages that deal with errors. As for 3. there

[akka-user] Re: Is back pressure triggered upon exceptions

2016-10-18 Thread Kunal Deshpande
Thanks Johannes for your feedback, For pt. 2 I am handling errors using Supervision.Resume so the stream should technically continue and not complete with an error, correct? Dagny - 1. It is unclear what your graph looks like and how you are materializing the value, also which supervision

[akka-user] Re: Is back pressure triggered upon exceptions

2016-09-26 Thread Dagny T
Hi Kunal and Johannes, THANKS for your posts on this -- as I was also wondering how exception-handling mid-Flow is supposed to work! Followup questions for you, please: - Let's say for simplicity that we have only 3 events flowing through a Streaming Flow with 5 Stages. - We put a Try block

[akka-user] Re: Is back pressure triggered upon exceptions

2016-09-20 Thread 'Johannes Rudolph' via Akka User List
Hi Kunai, On Thursday, September 15, 2016 at 7:49:18 AM UTC+2, Kunal Deshpande wrote: > > Few questions on back pressure > 1. While using Flows in akka-streams using .via will a downstream flow > apply back pressure to a flow upstream or is back pressure only signaled to > a Source? >