talira

Apache Avro

Data serialization system with schema evolution

open sourceApache-2.0free

Apache Avro is a data serialization format and set of libraries for record data, widely used in streaming data pipelines. Data is written with a schema, and schema evolution lets readers and writers change their schemas over time. The project has implementations for the JVM (Java, Kotlin, Scala), Python, C, C++, C#, PHP, Ruby, Rust, JavaScript and Perl, with code generation from schemas for Java. It's an alternative to Protocol Buffers for structured data.

Problems it solves

  • serialize records for a Kafka pipeline with a schema that can change
  • pick a binary data format with schema evolution for a data lake
  • read and write Avro files from Java or Python

Features

  • compact binary serialization of record data with a schema
  • schema evolution between readers and writers
  • implementations for Java/JVM, Python, C, C++, C#, PHP, Ruby, Rust, JavaScript and Perl
  • code generation from schemas for Java

Alternatives

The same job

These do what Apache Avro does.

  1. Protocol Buffers Google's language-neutral, platform-neutral mechanism for serializing structured data

Compare Apache Avro with the top 3