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

github.com/IBM/sarama

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.61.0 ↗ · + Follow · compare 6 versions
4,340 symbols 21,825 edges 348 files ⚖ MIT 888 documented · 20% updated todayv1.61.0 · 2026-09-22★ 12,52014 open issues

Browse by type

Functions 3,807 Types & classes 533
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,605
Function 1,202
Struct 428
TypeAlias 47
Interface 44
FuncType 14

Languages

Go100%

Modules by API surface

mockresponses.go202 symbols
broker.go116 symbols
async_producer.go96 symbols
admin.go96 symbols
async_producer_test.go90 symbols
consumer.go83 symbols
client.go82 symbols
balance_strategy.go70 symbols
admin_test.go66 symbols
consumer_test.go50 symbols
balance_strategy_test.go50 symbols
offset_manager.go48 symbols

Dependencies from manifests, versioned

github.com/IBM/saramav1.60.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