Back to rankings
IBM/sarama
GoSarama is a Go library for Apache Kafka.
kafkakafka-clientgo
Key Metrics
Star Growth
Stars
12.5k
Forks
1.9k
Weekly Growth
—
Issues
14
5k10k
Aug 2013Sep 2015Nov 2017Jan 2020Mar 2022May 2024Jul 2026
ArtifactsGo Modules
go get github.com/IBM/saramaREADME
sarama
Sarama is an MIT-licensed Go client library for Apache Kafka.
Getting started
- API documentation and examples are available via pkg.go.dev.
- Mocks for testing are available in the mocks subpackage.
- The examples directory contains more elaborate example applications.
- The tools directory contains command line tools that can be useful for testing, diagnostics, and instrumentation.
You might also want to look at the Frequently Asked Questions.
Compatibility and API stability
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. However, older releases of Kafka are still likely to work.
Sarama follows semantic versioning and provides API stability via the standard Go module version numbering scheme.
A changelog is available here.
Contributing
- Get started by checking our contribution guidelines.
- Read the Sarama wiki for more technical and design details.
- The Kafka Protocol Specification contains a wealth of useful information.
- For more general issues, there is a google group for Kafka client developers.
- If you have any questions, just ask!
Related repositories