Download Latest Version Version 1.46.3 (2025-10-26) source code.tar.gz (425.3 kB)
Email in envelope

Get an email when there's a new version of sarama

Home / v1.46.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-08-25 4.0 kB
Version 1.46.0 (2025-08-25) source code.tar.gz 2025-08-25 416.3 kB
Version 1.46.0 (2025-08-25) source code.zip 2025-08-25 588.9 kB
Totals: 3 Items   1.0 MB 0

[!NOTE]
This release contains significant changes. Notably Sarama will now use the ApiVersionRequest response from each broker to aid in selecting the protocol version to use. The existing Version field in sarama.Config will continue to provide a "pinning" mechanism, but can safely be set to a maximum or higher value than the remote cluster and sarama will sensibly pick compatible versions. There is also a performance improvement relating to MetadataRequests whereby Sarama will avoid having more than a single request to each broker in-flight at any given time. These new (optimal) behaviour is on by default can be opt-ed out via the Metadata.SingleFlight field in Config.

What's Changed

:tada: New Features / Improvements

:bug: Fixes

:package: Dependency updates

:wrench: Maintenance

New Contributors

Full Changelog: https://github.com/IBM/sarama/compare/v1.45.2...v1.46.0

Source: README.md, updated 2025-08-25