What is AVRO ?
Avro is a data serialization system.
Avro provides:
- Rich data structures.
- A compact, fast, binary data format.
- A container file, to store persistent data.
- Remote procedure call (RPC).
- Simple integration with dynamic languages. Code generation is not required to read or write data files nor to use or implement RPC protocols. Code generation as an optional optimization, only worth implementing for statically typed languages.
How can I get started quickly with Avro?
How to Statically Compile:
In Java: Add the avro jar, the jackson-mapper-asl.jar and jackson-core-asl.jar to your CLASSPATH. Then run java org.apache.avro.specific.SpecificCompiler <json file>. Or use the Schema or Protocol Ant tasks. Avro's build.xml provides examples of how these are used.
How are Strings represented in Java?
They use org.apache.avro.util.Utf8, not java.lang.String.