Re: [akka-user] How to assemble a Streams sink from multiple FileIO sinks?

2016-05-10 Thread Akka Team
Hi Tom, If I understood, your layout looks like, this (slightly simplified) bytes --> broadcast --> map(x => Success(Done)) --> Sink.head | +> image | +> watermarked | +> thumbnail The first issue

[akka-user] How to assemble a Streams sink from multiple FileIO sinks?

2016-05-10 Thread Tom Peck
I'm trying to integrate an akka streams based flow in to my Play 2.5 app. The idea is that you can stream in a photo, then have it written to disk as the raw file, a thumbnailed version and a watermarked version. I managed to get this working using a graph something like this: val