The end result of my stream is a Pair<Source<ByteString,?>, CustomContext>

In the Sink I now want to parse the Source into Json (with a library with 
needs an InputStream).  I also need in the Sink a reference 
to CustomContext.

I looked in Akka and found a OutputStreamSink which I think I can use as a 
blueprint for my InputStreamSink. 

(But I don't see a easy way of getting in the Sink a reference to 
CustomContext)

Since it seems some work I am asking is this the right way? Or is there 
some easier solution?



-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to