Sarama is a Go library for Apache Kafka 0.8, and up.
Sarama is an MIT-licensed Go client library for Apache Kafka version 0.8 (and later).
You might also want to look at the Frequently Asked Questions.
Sarama provides a "2 releases + 2 months" compatibility guarantee: we support the two latest stable releases of Kafka and Go, and we provide a two month grace period for older releases. This means we currently officially support Go 1.16, and Kafka 2.7 through 2.8, although older releases are still likely to work.
Sarama follows semantic versioning and provides API stability via the gopkg.in service. You can import a version with a guaranteed stable API via http://gopkg.in/Shopify/sarama.v1. A changelog is available here.