This is what I want to achieve:


I receive an HttpResponse coming from one single TCP connection always 
open, I want to emit ByteString which then are precessed by a JsonFraming 
stage. The problem is that the HTTP entity is a sub-source. I know I could 
simply use runFold on the dataBytes but then I have to deal with a future 
and mapAsync and I don't want to, I want to try another way :)

The broadcast is here to slow down the HttpResponse in-flow.

I hope this is clear, if not don't hesitate to ask questions.

I you want I've created a little library for with Source, Sink, 
Flow, etc. elements to quickly draw flow charts.

Thank you,


Le mardi 20 septembre 2016 14:30:46 UTC+2, Victor a écrit :
> Hi,
> Is it possible to create a Source from a Sink ?
> I want every element received in the Sink to be emitted from the Source.
> I have to do that because I use a MergeHub and a feedback loop.
> Thank you,
> Victor

>>>>>>>>>>      Read the docs:
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>>      Search the archives:
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 post to this group, send email to
Visit this group at
For more options, visit

Reply via email to