v1.30.0
版本发布时间: 2021-09-29 19:56:07
IBM/sarama最新发布版本:v1.43.3(2024-08-13 02:25:57)
⚠️ This release has been superseded by v1.30.1 and should not be used.
regression: enabling rackawareness causes severe throughput drops (#2071) — fixed in v1.30.1 via #2076
ℹ️ Note: from Sarama 1.30.0 the minimum version of Go toolchain required is 1.16.x
New Features / Improvements
- #1983 - @zifengyu - allow configure AllowAutoTopicCreation argument in metadata refresh
- #2000 - @matzew - Using xdg-go module for SCRAM
- #2003 - @gdm85 - feat: add counter metrics for consumer group join/sync and their failures
- #1992 - @zhaomoran - feat: support SaslHandshakeRequest v0 for SCRAM
- #2006 - @faillefer - Add support for DeleteOffsets operation
- #1909 - @agriffaut - KIP-546 Client quota APIs
- #1633 - @aldelucca1 - feat: allow balance strategies to provide initial state
- #1275 - @dnwe - log: add a DebugLogger that proxies to Logger
- #2018 - @dnwe - feat: use DebugLogger reference for goldenpath log
- #2019 - @dnwe - feat: add logging & a metric for producer throttle
- #2023 - @dnwe - feat: add Controller() to ClusterAdmin interface
- #2025 - @dnwe - feat: support ApiVersionsRequest V3 protocol
- #2028 - @dnwe - feat: send ApiVersionsRequest on broker open
- #2034 - @bai - Add support for kafka 3.0.0
Fixes
- #1990 - @doxsch - fix: correctly pass ValidateOnly through to CreatePartitionsRequest
- #1988 - @LubergAlexander - fix: correct WithCustomFallbackPartitioner implementation
- #2001 - @HurSungYun - docs: inform AsyncProducer Close pitfalls
- #1973 - @qiangmzsx - fix: metrics still taking up too much memory when metrics.UseNilMetrics=true
- #2007 - @bai - Add support for Go 1.17
- #2009 - @dnwe - fix: enable nilerr linter and fix iferr checks
- #2010 - @dnwe - chore: enable exportloopref and misspell linters
- #2013 - @faillefer - fix(test): disable encoded response/request check when map contains multiple elements
- #2015 - @bai - Change default branch to main
- #1718 - @crivera-fastly - fix: correct the error handling in client.InitProducerID()
- #1984 - @null-sleep - fix(test): bump confluentPlatformVersion from 6.1.1 to 6.2.0
- #2016 - @dnwe - chore: replace deprecated Go calls
- #2017 - @dnwe - chore: delete legacy vagrant script
- #2020 - @dnwe - fix(test): remove testLogger from TrackLeader test
- #2024 - @dnwe - chore: bump toxiproxy container to v2.1.5
- #2033 - @bai - Update dependencies
- #2031 - @gdm85 - docs: do not mention buffered messages in sync producer Close method
- #2035 - @dnwe - chore: populate the missing kafka versions
- #2038 - @dnwe - feat: add a fuzzing workflow to github actions
New Contributors
- @zifengyu made their first contribution in https://github.com/Shopify/sarama/pull/1983
- @doxsch made their first contribution in https://github.com/Shopify/sarama/pull/1990
- @LubergAlexander made their first contribution in https://github.com/Shopify/sarama/pull/1988
- @HurSungYun made their first contribution in https://github.com/Shopify/sarama/pull/2001
- @gdm85 made their first contribution in https://github.com/Shopify/sarama/pull/2003
- @qiangmzsx made their first contribution in https://github.com/Shopify/sarama/pull/1973
- @zhaomoran made their first contribution in https://github.com/Shopify/sarama/pull/1992
- @faillefer made their first contribution in https://github.com/Shopify/sarama/pull/2006
- @crivera-fastly made their first contribution in https://github.com/Shopify/sarama/pull/1718
- @null-sleep made their first contribution in https://github.com/Shopify/sarama/pull/1984
Full Changelog: https://github.com/Shopify/sarama/compare/v1.29.1...v1.30.0