Re: [akka-user] Best practice to combine akka-http and akka-stream flows

2016-06-09 Thread Akka Team
Hi Ivan, The code you posted there looks completely reasonable to me. The question is usually wether you want to chain somehting directly "flow.op1.op2" or use separate flows for groups of steps "flow.via(ops1).via(ops2)". The decision between the two is usually guided by how much reuse you

[akka-user] Best practice to combine akka-http and akka-stream flows

2016-06-07 Thread Ivan Morozov
Hi @ all This question is a duplication of this http://stackoverflow.com/questions/37659421/what-is-the-best-way-to-combine-akka-http-flow-in-a-scala-stream-flow stack overflow questions. I would like to speak about best practices to combine akka-stream and akka-http flows. Ivan --