--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
message MyObject {
optional string FieldName1 = 1;
optional string FieldName2 = 2;
optional string FieldName3 = 3;
optional string FieldName4 = 4;
optional int64 FieldName5 = 5;
}
Sounds like you ought to write a parser GraphStage which decodes inbound ByteStrings and emits ByteStrings, one per object, then you can decode it no matter if it comes from a file or over network, and the conversion from ByteString to your protobuf object can be a simple map()
--
Cheers,
√
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscribe@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.