An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/Shopify/sarama

Package sarama is a pure Go client library for dealing with Apache Kafka (versions 0.8 and later). It includes a high-level API for easily producing and consuming messages, and a low-level API for controlling bytes on the wire when the high-level API is insufficient. Usage examples for the high-level APIs are provided inline with their full documentation. To produce messages, use either the AsyncProducer or the SyncProducer. The AsyncProducer accepts messages on a channel and produces them asynchronously in the background as efficiently as possible; it is preferred in most cases. The SyncProducer provides a method which will block until Kafka acknowledges the message as produced. This can be useful but comes with two caveats: it will generally be less efficient, and the actual durability guarantees depend on the configured value of `Producer.RequiredAcks`. There are configurations where a message acknowledged by the SyncProducer can still sometimes be lost. To consume messages, use Consumer or Consumer-Group API. For lower-level needs, the Broker and Request/Response objects permit precise control over each connection and message sent on the wire; the Client provides higher-level metadata management that is shared between the producers and the consumer. The Request/Response objects and properties are mostly undocumented, as they line up exactly with the protocol fields documented by Kafka at https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol Metrics are exposed through https://github.com/rcrowley/go-metrics library in a local registry. Broker related metrics: Note that we do not gather specific metrics for seed brokers but they are part of the "all brokers" metrics. Producer related metrics: Consumer related metrics:

Ecosystem
proxy.golang.org
Latest Release
v1.47.0
12 days ago
Versions
83
Dependent Packages
8,245
Dependent Repos
36,794
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/%21shopify/sarama
spec
License MIT
Namespace github.com/Shopify
First Release almost 11 years ago
Last Synced about 23 hours ago
Keywords
go kafka kafka-client
Repository
Stars 12,157 on GitHub
Forks 1,828 on GitHub
Docker Dependents 1,200
Docker Downloads 7,336,555,807
Commits 2349
Committers 294
Avg per Author 7.99
DDS 0.78
Rankings on proxy.golang.org
Overall Top 0.3%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Forks Top 0.6%
Docker downloads Top 0.1%