Counting 3,742 Big Data & Machine Learning Frameworks, Toolsets, and Examples...
Suggestion? Feedback? Tweet @stkim1

Last Commit
Apr. 20, 2019
Jul. 5, 2013


GoDoc Build Status Coverage

Sarama is an MIT-licensed Go client library for Apache Kafka version 0.8 (and later).

Getting started

  • API documentation and examples are available via godoc.
  • 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. This means we currently officially support Go 1.10 through 1.12, and Kafka 2.0 through 2.2, although older releases are still likely to work.

Sarama follows semantic versioning and provides API stability via the service. You can import a version with a guaranteed stable API via A changelog is available here.


Latest Releases
Version 1.22.0 (2019-04-09)
 Apr. 9 2019
Version 1.21.0 (2019-02-24)
 Feb. 24 2019
Version 1.20.1 (2019-01-10)
 Jan. 10 2019
Version 1.20.0 (2018-12-10)
 Dec. 10 2018
Version 1.19.0 (2018-09-27)
 Sep. 27 2018