Returns a flow that parses an incoming RecordIO stream and emits the identified records.
Returns a flow that parses an incoming RecordIO stream and emits the identified records.
The incoming stream is expected to be a concatenation of records of the format:
[record length]\n[record data]
The parser ignores whitespace before or after each record. It is agnostic to the record data contents.
The flow will emit each record's data as a byte string.
The maximum record length allowed. If a record is indicated to be longer, this Flow will fail the stream.
Java API
Provides a flow that can separate records from an incoming RecordIO-formatted akka.util.ByteString stream.