Re: [akka-user] Actor stream to file

2016-07-01 Thread Patrik Nordwall
Have you looked at: - Sink.actorRef - Sink.actorRefWithAck - mapAsync + ask /Patrik On Thu, Jun 23, 2016 at 8:53 PM, Richard Rodseth wrote: > I have a stream which needs to output some progress/error text to a file > and to console (different things to each). > >

[akka-user] Actor stream to file

2016-06-23 Thread Richard Rodseth
I have a stream which needs to output some progress/error text to a file and to console (different things to each). I've implemented something using alsoTo(fileSink).alsoTo(consoleSink). But now I'm considering funneling these messages through an actor intermediary instead. i.e.