Skip to content

Version 1.62.0 (2026-11-20)

Latest

Choose a tag to compare

@dnwe dnwe released this 20 Nov 00:02
3c1a067

Important

If you build a MetadataRequest yourself, an empty non-nil Topics (such as []string{}) at version 1 or above now asks for no topics, returning only the brokers and controller, as the Kafka protocol defines. Set Topics to nil to fetch all topics. NewMetadataRequest still treats an empty list as all topics. See #3810.

What's Changed

🎉 New Features / Improvements

  • feat(producer): add context aware SyncProducer sends by @FireBurn in #3844
  • feat(protocol): support KIP-890 TRANSACTION_ABORTABLE by @dnwe in #3855

🐛 Fixes

  • fix(broker): validate ApiVersions response header by @dnwe in #3803
  • fix(admin): refresh controller before each retry by @dnwe in #3793
  • fix(admin): retry group calls while coordinator loads by @dnwe in #3794
  • fix(offset): let PartitionOffsetManager.Close return by @dnwe in #3808
  • fix(consumer): don't exhaust Retry.Max on a switch by @dnwe in #3796
  • fix(admin): open brokers under the client lock by @dnwe in #3795
  • fix(admin): retry DeleteRecords like Java by @dnwe in #3797
  • fix(protocol): don't send an unclean election as ElectLeaders v0 by @hsdfat in #3852
  • fix(admin): retry DescribeConsumerGroups like Java by @dnwe in #3798
  • fix(admin): return ErrClosedClient from list calls by @dnwe in #3799
  • fix(producer): flush partial batches on Close by @dnwe in #3800
  • fix(producer): keep flushing batch ahead on retry by @dnwe in #3801
  • fix(producer): don't use up a retry after recovery by @dnwe in #3802
  • fix(offset): keep a reset made during two commits by @dnwe in #3807
  • fix(offset): back off between final commit attempts by @dnwe in #3806
  • fix(client): don't join an all-topics refresh by name by @dnwe in #3811
  • fix(client): don't let leader epochs go backwards by @dnwe in #3812
  • fix(offset): build commit requests in one place by @dnwe in #3809
  • fix(client): find the controller with no topics by @dnwe in #3810
  • fix(consumer): report joined generation in user data by @dnwe in #3816
  • fix(consumer): skip topics the cluster lacks in balance by @dnwe in #3817
  • fix(protocol): add missing ConfigSource values by @sebxt in #3842
  • fix(admin): add KIP-373 ACL operations and User resource type by @sebxt in #3846
  • fix: make broker throttle waits interruptible on close by @liuzengh in #3711
  • fix(producer): only refresh metadata before a retry when it is stale by @omkar619-dev in #3849
  • fix(admin): surface the ListGroups error code in ListConsumerGroups by @fadiroot in #3819
  • fix(protocol): require Kafka 2.2 for ElectLeaders by @dnwe in #3854
  • fix: resolve gohawk lock and race findings by @dnwe in #3853
  • fix(protocol): decode compressed batches with more records than bytes by @hsdfat in #3851
  • fix(offset): avoid deadlock when closing during a blocked commit by @hsdfat in #3753

📦 Dependency updates

  • chore(deps): bump github.com/klauspost/compress from 1.20.1 to 1.20.4 by @dependabot[bot] in #3862
  • chore(deps): bump github.com/xdg-go/scram from 1.2.0 to 1.4.0 in /examples/sasl_scram_client by @dependabot[bot] in #3860
  • fix(deps): update module golang.org/x/sync to v0.25.0 by @renovate[bot] in #3832
  • chore(deps): update dependency golangci/golangci-lint to v2.15.0 by @renovate[bot] in #3863
  • chore(deps): update docker/bake-action action to v7.5.0 by @renovate[bot] in #3870
  • chore(deps): bump the golang-x group across 1 directory with 2 updates by @dependabot[bot] in #3864
  • chore(deps): update module golang.org/x/crypto to v0.59.0 by @renovate[bot] in #3871
  • chore(deps): update ossf/scorecard-action action to v2.5.0 by @renovate[bot] in #3872
  • examples: bump deps for compliance by @dnwe in #3874
  • fix(deps): update module golang.org/x/net to v0.63.0 by @renovate[bot] in #3831
  • chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.31 to 4.1.33 by @dependabot[bot] in #3830
  • chore(deps): update ossf/scorecard-action action to v2.6.0 by @renovate[bot] in #3882

🔧 Maintenance

  • chore: apply errorsastype modernizer by @dnwe in #3804
  • chore: refresh examples go.mod and go mod tidy by @dnwe in #3840
  • chore(ci): update Staticcheck for Go 1.27 export data by @DCjanus in #3847
  • test: update gzip fixtures for zero modification time by @DCjanus in #3867
  • ci: label pull requests by change size by @DCjanus in #3868
  • ci: adjust pr-size boundaries by @dnwe in #3869
  • chore(docs): fix typos in examples and changelog by @dnwe in #3878
  • test: answer on every mock broker by @dnwe in #3879
  • test(offset): check Close commits marked offsets by @dnwe in #3814
  • test(functional): cover a failed sync under a Java leader by @dnwe in #3823
  • test(producer): make retry shutdown test deterministic by @JamesMGreene in #3857
  • chore(docs): update changelog for 1.62.0 by @dnwe in #3883

New Contributors

Full Changelog: v1.61.1...v1.62.0