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

github.com/IBM/sarama

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.61.1 ↗ · + Follow · compare 7 versions
4,374 symbols 22,212 edges 348 files ⚖ MIT 907 documented · 21% ● updated 2d agov1.61.1 · 2026-09-27★ 12,52315 open issues

Browse by type

⨍ Functions 3,837◇ Types & classes 537
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,616
Function 1,221
Struct 432
TypeAlias 47
Interface 44
FuncType 14

Languages

Go100%

Modules by API surface

mockresponses.go202 symbols
broker.go116 symbols
async_producer_test.go98 symbols
async_producer.go97 symbols
admin.go96 symbols
consumer.go83 symbols
client.go83 symbols
balance_strategy.go70 symbols
admin_test.go66 symbols
consumer_test.go51 symbols
consumer_group_cooperative_test.go50 symbols
balance_strategy_test.go50 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