Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sarama

> 开发工具
Open source

Sarama is a Go library for Apache Kafka.

12.5K stars0 likes0 views
WebsiteGitHub

About

Sarama is a Go library for Apache Kafka.

sarama

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

  • Get started by checking our contribution guidelines.
  • Read the Sarama wiki for more technical and design details.
  • The Kafka Protocol Specification contains a wealth of useful information.
  • For more general issues, there is a google group for Kafka client developers.
  • If you have any questions, just ask!

Issues· 43 open

View all issuesOpen on GitHub
  • #3166

    Dependency Dashboard

    stale/exemptUpdated Sep 28, 2026
  • #3173

    Support for shared consumer group in sarama

    Feature requeststale/exemptUpdated Sep 20, 2026
  • #3750

    Security Alerts — IBM/sarama

    securityUpdated Sep 18, 2026
  • #3747

    feat: support ConsumerGroupDescribe API (KIP-848)

    Updated Sep 12, 2026
  • #3742

    DescribeCluster() fails with io.EOF against brokers < 2.8 after v1.47.0 due to missing API key check in restrictApiVersion

    Updated Sep 7, 2026
  • #3736

    test: race detector reports a race on global Logger

    Updated Sep 2, 2026
  • #2820

    `Net.ReadTimeout` is not a network-level property

    stale/exemptneeds-investigationUpdated Sep 1, 2026
  • #2981

    Support AdminClient connection to Controller listeners

    stale/exemptneeds-investigationUpdated Sep 1, 2026
  • #3710

    Broker.Close can be blocked for the full broker throttle duration

    Updated Aug 14, 2026
  • #3703

    [Feature Request] Add a metadata snapshot API

    Updated Aug 7, 2026

> Tags

Gogokafkakafka-client

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具