sarama
by
IBM

Description: Sarama is a Go library for Apache Kafka.

View on GitHub ↗

Summary Information

Updated 41 minutes ago
Added to GitGenius on March 8th, 2026
Created on July 5th, 2013
Open Issues & Pull Requests: 34 (+0)
Number of forks: 1,844
Total Stargazers: 12,501 (+0)
Total Subscribers: 608 (+0)

Issue Activity (beta)

Open issues: 12
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 730 days
Stale 30+ days: 7
Stale 90+ days: 7

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • stale (106)
  • needs-investigation (45)
  • stale/exempt (30)
  • bug (10)
  • Feature request (3)
  • enhancement (3)
  • question (3)
  • v2 (3)

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 37.1 hours
Mean response time: 233.4 days
90th percentile: 1070.8 days
Tracked items: 171

Most active contributors

Detailed Description

Sarama is an MIT-licensed Go client library for Apache Kafka maintained by IBM. It provides developers with a comprehensive toolkit for building Kafka-based applications in Go, offering both producer and consumer functionality for interacting with Kafka clusters. The library is classified across multiple domains including Kafka, Go, Client, Library, Producer, Consumer, Messaging, Streaming, Distributed systems, and API development, reflecting its broad applicability in distributed messaging scenarios.

The library includes extensive documentation and examples accessible through pkg.go.dev, with a dedicated mocks subpackage for testing purposes. An examples directory provides more elaborate sample applications, while a tools directory contains command-line utilities useful for testing, diagnostics, and instrumentation of Kafka interactions. The project maintains a Frequently Asked Questions wiki to help users get started quickly.

Sarama follows a "2 releases + 2 months" compatibility guarantee, supporting the two latest stable releases of Kafka and Go with an additional two-month grace period for older releases. Although older Kafka versions are likely to work, this policy ensures users have clear expectations about supported versions. The library adheres to semantic versioning through Go's standard module version numbering scheme, with a detailed changelog documenting changes across releases.

The repository shows significant maintenance activity with a median issue and pull request response latency of 37.1 hours across 171 tracked items, though the mean response time of 5601.8 hours indicates some older items may have longer resolution times. The most active issue labels are stale (70 occurrences), needs-investigation (38), and stale/exempt (30), suggesting the maintainers actively manage issue lifecycle and prioritize investigation of reported problems. The primary contributor tracked by GitGenius is dnwe with 319 events, followed by puellanivis with 64 events and bentcoder with 13 events, indicating a core team managing the project's development.

The repository's contributor base overlaps with several major open-source projects including Microsoft's VSCode and TypeScript implementations, as well as the Rust language project, suggesting Sarama attracts developers with experience across multiple language ecosystems and large-scale projects. This cross-project involvement indicates the library's relevance to developers working on diverse technology stacks.

The project provides comprehensive contribution guidelines and maintains a technical wiki covering design details and implementation specifics. Contributors are directed to the Kafka Protocol Specification for protocol-level information and to a Google Group for general Kafka client development discussions. The library's documentation emphasizes accessibility for new contributors while maintaining technical depth for advanced users implementing complex Kafka integration scenarios.

sarama
by
IBMIBM/sarama

Repository Details

Fetching additional details & charts...