# Sarama

> Go client library for Apache Kafka

Source: https://talira.ai/catalog/sarama-7aamch4p
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / message queue clients](https://talira.ai/categories/libraries/message-queue-clients)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [IBM](https://talira.ai/orgs/ibm.md)
- Funding: public company (NYSE:IBM)[^3]

Sarama is an MIT-licensed Go client library for [Apache Kafka](https://talira.ai/catalog/apache-kafka-dbpba7hs.md), with producers, consumers, consumer groups and an admin client, plus mocks for testing and a set of command-line tools for testing and diagnostics. It supports the two latest stable releases of Kafka and Go, with a two-month grace period for older ones, and follows Go module semantic versioning. Shopify started it, and IBM maintains it now.

## Links

- GitHub: https://github.com/IBM/sarama
- Docs: https://pkg.go.dev/github.com/IBM/sarama

## Problems it solves

- produce and consume Kafka messages from a Go service
- a pure Go Kafka client without cgo
- mock Kafka in Go unit tests

## Features

- producers, consumers and consumer groups
- admin client
- mocks subpackage for tests
- command-line tools for testing and diagnostics
- supports the two latest Kafka and Go releases

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.82, momentum 0.57, community 1.00, backing 0.55, extensibility 0.00.

- last commit 6 days ago
- 152 commits in the last 90 days
- latest release v1.62.0 10 days ago
- 12.5k GitHub stars
- 345 contributors
- backed by IBM
- funding: public company (NYSE:IBM)

## Related

- Works with [Apache Kafka](https://talira.ai/catalog/apache-kafka-dbpba7hs.md)

## Sources

[^1]: https://github.com/IBM/sarama/blob/main/LICENSE.md (checked 27 Nov 2026)
[^2]: https://github.com/IBM/sarama/blob/main/README.md (checked 27 Nov 2026)
[^3]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
