Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2025

Bumps github.com/twmb/franz-go from 1.19.5 to 1.20.0.

Changelog

Sourced from github.com/twmb/franz-go's changelog.

v1.20.0

This is a comparatively small minor release that adds support for Kafka 4.1, adds three new APIs, fixes four bugs (read below to gauge importance), has a few improvements, and switches the client from a default of 0ms linger to a default of 10ms linger.

Also of note: a new srfake package has been created so you can run a fake Schema Registry server in your CI tests (thank you @​weeco). This complements the existing kfake package that allows you to run a fake in-memory Kafka "cluster" for unit testing. If you did not know of either of these, check them out! kfake supports many Kafka features, but transactions are still WIP. All franz-go tests except transaction based tests pass against a kfake "cluster", so odds are, it'll work for you.

There are a few external contributors this release to features, docs, bugs, and internal improvements. If I do not call you out below directly, please know I'm thankful for your contributions!

Behavior changes

  • This library now lingers by default for 10ms. You can switch back to 0ms lingering by adding kgo.ProducerLinger(0) to your options when initializing the client. The original theory for 0ms linger was more of a theory, and years of practice has shown that even a tiny linger can be beneficial to the throughput and batching of clients. See #1072 for more details.

Bug fixes

  • Metadata refreshes could panic if a very specific flow of events happened, specifically only on a cluster that is transitioning from not using topic IDs to using topic IDs, and only if the transition is implemented 100% correctly. This bug has existed for years and was only encountered during the recent addition of topic IDs to Redpanda. See 645f1126 for more details.

  • The loop that determines whether more batches exist to be produced had its conditional backwards. This was hidden forever due to other minor logic flaws that caused the "do more batches exist?" check to occur more than it should have, so the bug caused no problems. The "do more batches exist?" checks have been improved and the conditional has been fixed.

  • The internal linger timers fired way more than they needed to, causing batches to be cut WAY more frequently than they needed to when using lingering. The logic here has been fixed, so lingering should actually run its full time now and batches should be bigger.

  • Azure resets connections when speaking ApiVersions v4. v1.19 of this library detected this resetting and after 3 attempts, downgrades to ApiVersions v3.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/twmb/franz-go](https://github.com/twmb/franz-go) from 1.19.5 to 1.20.0.
- [Changelog](https://github.com/twmb/franz-go/blob/master/CHANGELOG.md)
- [Commits](twmb/franz-go@v1.19.5...v1.20.0)

---
updated-dependencies:
- dependency-name: github.com/twmb/franz-go
  dependency-version: 1.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 20, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 20, 2025

Looks like github.com/twmb/franz-go is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Oct 20, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/twmb/franz-go-1.20.0 branch October 20, 2025 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant