# linkedin/goavro

Goavro is a library that encodes and decodes Avro data.

Repository: https://github.com/linkedin/goavro
Canonical: https://ross.abutalabs.com/products/goavro
Homepage: https://pkg.go.dev/github.com/linkedin/goavro/v2
Language: Go
License: Apache-2.0
License Family: permissive
Topics: avro, golang
Last push: 2026-01-21T18:25:12+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 63, release rhythm 42, longevity 100
- inputs: {"age_days": 4209, "days_push": 224, "days_rel": 224, "gap_med": 135, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1071, forks 232 (observed 2026-08-28T04:03:28.273337+00:00)

## What it is
Goavro is a Go library that encodes and decodes Apache Avro data in both binary and textual JSON formats. It provides a stateless, goroutine-safe Codec that parses Avro schemas and converts records to and from native Go maps.

## Use cases
- encode and decode avro data in go
- read avro binary files from kafka
- convert avro json to go structs
- parse avro schemas in a go service
- serialize records to avro binary format
- decode avro messages from a schema registry

## When to choose
- you need a mature, spec-compliant Avro library for Go
- you need both binary and JSON Avro encoding
- you want a simple map-based API without code generation
- you're maintaining an existing codebase already using goavro

## When to avoid
- you need maximum performance at large scale - prefer hamba/avro
- you're starting a new project, since goavro is in maintenance mode
- you need Avro features not yet supported by the library
- you want generated typed structs rather than native Go maps

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, parser
- domain: developer-tools, big-data
- platform: go, cross-platform
- tags: avro, data-serialization, binary-format, json-encoding, schema-registry, data-engineering

## Member repositories
- linkedin/goavro (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:28.273337+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:50.460523+00:00, confidence not recorded.
  - readme: https://github.com/linkedin/goavro (fetched 2026-08-28T04:03:28.273337+00:00, sha 182d92fa38ee)
  - homepage: https://pkg.go.dev/github.com/linkedin/goavro/v2 (fetched 2026-08-29T12:55:56.001845+00:00, sha 6f28f3cbc0c1)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T12:55:56.005675+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T12:55:56.008102+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
