Hi Richard,

This looks like a retry-chain of some sorts. You can probably model this as
Futures chained together with fallbackTo. Loops in streams are tricky and
many times there are alternatives. If your use-case works with futures then
maybe that is the way to go, and integrate it with your stream if necessary
with a mapAsync.

-Endre

On Thu, Jan 21, 2016 at 11:11 AM, Richard Grossman <[email protected]>
wrote:

> Hi
>
> I need to figure out a looping flow.
> 1/ I get a list of request each request is an http call.
> 2/ I make the http call get a result back
> 3/ If I get a valid response  I need to break the flow not continuing to
> loop on the rest of the request in the sequence
>
> *The http call have to be serial I can't balance or broadcast all the
> requests and check for responses.*
>
> I think that the graph is not complicated
> Please help
>
> Thanks
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Akka Team
Typesafe - Reactive apps on the JVM
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to