What is Apache Avro?
Apache Avro is a data serialization system
According to the documentation, is code generation an optional optimization?
Correct. Avro does not require code generation. However, for statically typed languages, code generation optimizes performance.
Is data always accompanied by a schema?
Yes. This means data can be fully processed without code generation.
How is an Avro schema represented?
An Avro schema is represented by a JSON object
Give an example of an Avro schema
{
"type": "record",
"name": "User",
"fields": [{"name": "firstName", "type": "string"}, {"name": "age", "type": "int"}]
}What is code generation?
Code generation is a feature that uses an Avro schema to automatically build a Java class that can be used to build Avro objects