An optimized version of splittingFlowOn that splits on '\n'
or '\r'
.
A flow that takes akka.util.ByteString, and turns it into UTF-8 strings, split on one of several split characters.
A flow that takes akka.util.ByteString, and turns it into UTF-8 strings, split on one of several split characters.
The split character is kept at the end of each string.
A flow that turns a stream of akka.util.ByteString into a stream of UTF-8 strings, each containing one line.
A flow that turns a stream of akka.util.ByteString into a stream of UTF-8 strings, each containing one line.
(Since version 2.2.3) Use splittingFlow instead
Create a akka.stream.scaladsl.Flow that sends all events to a given akka.stream.scaladsl.Sink, while still allowing them to flow to the output as well.
Create a akka.stream.scaladsl.Flow that sends all events to a given akka.stream.scaladsl.Sink, while still allowing them to flow to the output as well.
(Since version 2.5.0) Use alsoTo or alsoToMat instead
General utilities for building streams