Avro is a binary message format designed for compact, efficient payloads in high-throughput systems. It encodes fields without identifiers, relying on the writer’s schema to determine their order and types. section 8.1.6
Account for these implementation trade-offs:
- Consumers need access to the correct writer schema before deserializing a message; a schema registry is typically used in distributed systems. section 8.1.6
- An IDL compiler generates message classes and serialization code, adding tooling while supporting an API-first design. section 8.1.6
Table 8.3 The benefits and drawbacks of text-based vs. binary formats for message payloads
|
Format |
Benefits |
Drawbacks |
|
Text |
|
|
|
Binary |
|
|
Compare the compactness and processing efficiency of binary formats with their tooling requirements and lack of human readability. section 8.1.6



