Story #8061: develop queue-based processing system for the CN
standardize task serialization for language independence
the prototype code is using Java Serialization to turn the IndexTasks into byte. We should use a more universal messaging standard, like JSON, Mime Multipart, or XML.
If JSON, Java would need to determine the parsing library (Jackson seems like a decend choice).
#2 Updated by Rob Nahf over 5 years ago
also look at Google's protocol buffers: https://developers.google.com/protocol-buffers/docs/overview
It requires code generation of the Java class ( https://developers.google.com/protocol-buffers/docs/javatutorial )
- create a .proto data format definition
- download the protocol buffer compiler
- compile the .proto data format from the command line
- use the resulting Java class.