NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #292 by repository stars
Latest stable
v1.61.1
Last release today
17 Nov 2026
Ships on a steady schedule
a new release about every 1 weeks
Most releases are documented
notes for 42 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
648 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Add support for the new Kafka 0.11 record-batch format, including the wire protocol and the necessary behavioural changes in the producer and consumer
New Features:
Bug Fixes:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Support for FetchRequest version 3 (#905).
New Features:
PartitionOffsetManager.ResetOffset for backtracking tracked offsets
(#932).Improvements:
Client.Replicas and Client.InSyncReplicas now respect the order returned
by the broker, which can be meaningful
(#930).Ticker to reduce consumer timer overhead at the cost of higher
variance in the actual timeout
(#933).Bug Fixes:
Nothing published for this version
…to switch from the GroupProtocols field (now deprecated) to use OrderedGroupProtocols (#812).
New Features:
ApiVersions request and response pair, and Kafka
version 0.10.2 (#867). Note
that you still need to specify the Kafka version in the Sarama configuration
for the time being.Brokers method to the Client which returns the complete set of
active brokers (#813).InSyncReplicas method to the Client which returns the set of all
in-sync broker IDs for the given partition, now that the Kafka versions for
which this was misleading are no longer in our supported set
(#872).NewCustomHashPartitioner method which allows constructing a hash
partitioner with a custom hash method in case the default (FNV-1a) is not
suitable
(#837,
#841).Improvements:
Bug Fixes:
AddGroupProtocol or
AddGroupProtocolMetadata helpers; otherwise you will need to switch from
the GroupProtocols field (now deprecated) to use OrderedGroupProtocols
(#812).Nothing published for this version
_Important:_ As of Sarama 1.11 it is necessary to set the config value of Producer.Return.Successes to true in order to use the SyncProducer. Previous
Important: As of Sarama 1.11 it is necessary to set the config value of
Producer.Return.Successes to true in order to use the SyncProducer. Previous
versions would silently override this value when instantiating a SyncProducer
which led to unexpected values and data races.
New Features:
HighWaterMarks method to the Consumer which aggregates the
HighWaterMarkOffset values of its child topic/partitions
(#769).Bug Fixes:
Fix the documentation for HashPartitioner which was incorrect (#717).
Bug Fixes:
HashPartitioner which was incorrect
(#717)._Important:_ As of Sarama 1.10 it is necessary to tell Sarama the version of Kafka you are running against (via the config.Version value) in order to
Important: As of Sarama 1.10 it is necessary to tell Sarama the version of
Kafka you are running against (via the config.Version value) in order to use
features that may not be compatible with old Kafka versions. If you don't
specify this value it will default to 0.8.2 (the minimum supported), and trying
to use more recent features (like the offset manager) will fail with an error.
Also: The offset-manager's behaviour has been changed to match the upstream java consumer (see #705 and #713). If you use the offset-manager, please ensure that you are committing one greater than the last consumed message offset or else you may end up consuming duplicate messages.
New Features:
Improvements:
nil compressed messages for deleting in compacted topics
(#634).Bug Fixes:
Client.Leader could return the wrong error
(#685).Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add support for custom offset manager retention durations (#602).
New Features:
Improvements:
Bug Fixes:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
All protocol messages and fields (#586, #588, #590).
New Features:
Improvements:
Preliminary support for Kafka 0.9 (#572). This comes with several caveats:
New Features:
Improvements:
Bug Fixes:
Nothing published for this version
Nothing published for this version
Fix panic that could occur if a user-supplied message value failed to encode (#449).
Bug Fixes:
Implementation of a consumer offset manager using the APIs introduced in Kafka 0.8.2. The API is designed mainly for integration into a future high-le
New Features:
Improvements:
Bug Fixes:
TLS-encrypted network connections are now supported. This feature is subject to change when Kafka releases built-in TLS support, but for now this is e
New Features:
Improvements:
Bug Fixes:
Nothing published for this version
Don't include the partitioner in the producer's "fetch partitions" circuit-breaker (#466).
Nothing published for this version
Update the import path for snappy-go, it has moved from google code to github (#456).
Bug Fixes:
Nothing published for this version
Optimizations when decoding snappy messages, thanks to John Potocny (#446).
Added a kafka-console-consumer tool capable of handling multiple partitions, and deprecated the now-obsolete kafka-console-partitionConsumer (#439, #4…
New Features:
Topics() and Partitions() methods to enable
users to dynamically choose what topics/partitions to consume without
instantiating a full client
(#431).HighWaterMarkOffset() method (#339).kafka-console-consumer tool capable of handling multiple
partitions, and deprecated the now-obsolete kafka-console-partitionConsumer
(#439,
#442).Improvements:
Bug Fixes:
…accessing the fields individually has been deprecated (#413).
New Features:
Coordinator(consumerGroup string) (*Broker, error)RefreshCoordinator(consumerGroup string) errorImprovements:
OffsetOutOfRange errors in the consumer.
Consumers will fail to start if the provided offset is out of range
(#418)
and they will automatically shut down if the offset falls out of range
(#424).Bug Fixes:
Nothing published for this version
The producer's behaviour when Flush.Frequency is set is now more intuitive (#389).
Improvements:
Flush.Frequency is set is now more intuitive
(#389).GetOffset method will now automatically refresh metadata and
retry once in the event of stale information or similar
(#394).Bug Fixes:
Wrap the producer's partitioner call in a circuit-breaker so that repeatedly broken topics don't choke throughput (#373).
Improvements:
Bug Fixes:
Version 1.0.0 is the first tagged version, and is almost a complete rewrite. The primary differences with previous untagged versions are:
Version 1.0.0 is the first tagged version, and is almost a complete rewrite. The primary differences with previous untagged versions are:
SyncProducer with a blocking API, and an AsyncProducer that is non-blocking.Consumer, SyncProducer and AsyncProducer are provided in the github.com/IBM/sarama/mocks package.Client; this will be done for you.Config struct.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.