Hi All,

I`m using akka streams to build streaming application that on the fly merge 
several (potentially big) files from AWS S3 into one. I create flow which 
map dataBytes from akka-http request to my domain objects merge several of 
such sources into one and sent merged data as response to my application 
clients.

Sometimes flow stops and response is not fully rendered. One of the reasons 
of such behavior caused by S3, internet, etc, basically tcp connection 
brake, as files potentially very big i want to reinitiate failing stream 
during run of the graph to finish rendering response without need to 
restart all requests again.

In my case i can track number of bytes already consumed during run of the 
graph and using http get with Range header get new source with content 
which left to consume from previous source.   

So my question: Is there any way how i can (re)initiate new request and 
connect its (dataBytes) source to already running graph? Something using 
custom GraphStage or ActorPublisher is it in general possible?

Regards,
Kyrylo 


-- 
>>>>>>>>>>      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