Apache Avro for Golang
Support for decoding/encoding avro using both map-style access (GenericRecord) and to/from arbitrary Go structs (SpecificRecord).
This library started as a fork of elodina/go-avro
but has now proceeded to become a maintained library.
Installation
Installation via go get:
go get gopkg.in/avro.v0
Documentation
Some usage examples are located in examples folder:
- DataFileReader
- GenericDatumReader/Writer
- SpecificDatumReader/Writer
- Schema loading
- Code gen support available in codegen folder
About This fork
This fork separated from elodina/go-avro in December 2016 because of the project not responding to PR's since around May 2016. Had tried to contact them to get maintainer access but the original maintainer no longer is able to make those changes.
Originally, we were waiting in hope the elodina maintainer would return, but it hasn't happened, so the plan now is to proceed with this as its own library and take PRs, push for feature additions and version bumps.