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 draw.io with Source, Sink,
Flow, etc. elements to quickly draw flow charts.
Le mardi 20 septembre 2016 14:30:46 UTC+2, Victor a écrit :
> 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,
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> 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 post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.