MCPcopy Create free account
hub / github.com/IBM/sarama

github.com/IBM/sarama

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.60.1 ↗ · + Follow · compare 4 versions
4,179 symbols 21,108 edges 338 files ⚖ MIT 853 documented · 20% updated 2d agov1.60.1 · 2026-07-29★ 12,50414 open issues

Browse by type

Functions 3,668 Types & classes 511
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

sarama

Go Reference OpenSSF Scorecard OpenSSF Best Practices

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

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 2,513
Function 1,155
Struct 408
TypeAlias 47
Interface 43
FuncType 13

Languages

Go100%

Modules by API surface

mockresponses.go198 symbols
broker.go115 symbols
admin.go96 symbols
async_producer.go95 symbols
async_producer_test.go90 symbols
consumer.go83 symbols
client.go82 symbols
balance_strategy.go70 symbols
admin_test.go64 symbols
consumer_test.go50 symbols
balance_strategy_test.go50 symbols
offset_manager.go48 symbols

Dependencies from manifests, versioned

github.com/IBM/saramav1.50.2 · 1×
github.com/go-logr/stdrv1.2.2 · 1×
github.com/hashicorp/go-uuidv1.0.3 · 1×
github.com/jcmturner/aescts/v2v2.0.0 · 1×
github.com/jcmturner/dnsutils/v2v2.0.0 · 1×
github.com/jcmturner/goforkv1.7.6 · 1×

For agents

$ claude mcp add sarama \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page