Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 26, 2025

Bumps github.com/twmb/franz-go from 1.19.3 to 1.19.4.

Changelog

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

v1.19.4

Fixes one bug introduced from the prior release (an obvious data race in retrospect), and one data race introduced in 1.19.0. I've looped the tests more in this release and am not seeing further races. I don't mean to downplay the severity here, but these are races on pointer-sized variables where reading the before or after state is of little difference. One of the read/write races is on a context.Context, so there are actually two pointer sized reads & writes -- but reading the (effectively) type vtable for the new context and then the data pointer for the old context doesn't really break things here. Anyway, you should upgrade.

This also adds a workaround for Azure EventHubs, which does not handle ApiVersions correctly when the broker does not recognize the version we are sending. The broker should reply with an UNSUPPORTED_VERSION error and reply with the version the broker can handle. Instead, Azure is resetting the connection. To workaround, we detect a cxn reset twice and then downgrade the request we send client side to 0.

  • 7910f6b6 kgo: retry connection reset by peer from ApiVersions to work around EventHubs
  • d310cabd kgo: fix data read/write race on ctx variable
  • 7a5ddcec kgo bugfix: guard sink batch field access more
Commits
  • 29cb50b Merge pull request #1029 from twmb/changelog-1.19.4
  • 0d3d262 changelog for 1.19.4
  • edcf726 Merge pull request #1026 from twmb/bugs
  • 7910f6b kgo: retry connection reset by peer from ApiVersions to work around EventHubs
  • d310cab kgo: fix data read/write race on ctx variable
  • 7a5ddce kgo bugfix: guard sink batch field access more
  • See full diff in compare view

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.3 to 1.19.4.
- [Changelog](https://github.com/twmb/franz-go/blob/master/CHANGELOG.md)
- [Commits](twmb/franz-go@v1.19.3...v1.19.4)

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

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 May 26, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 26, 2025

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

@dependabot dependabot bot closed this May 26, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/twmb/franz-go-1.19.4 branch May 26, 2025 04:15
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