Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod: bump github.com/twmb/franz-go/pkg/kadm from 1.12.0 to 1.13.0 #158

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2024

Bumps github.com/twmb/franz-go/pkg/kadm from 1.12.0 to 1.13.0.

Changelog

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

v1.13.0

This release contains a few new APIs, two rare bug fixes, updates to plugins, and changes the library to now require 1.18.

Go version

This library has supported Go 1.15 since the beginning. There have been many useful features that this library has not been able to use because of continued backcompat for 1.15. There is really no reason to support such an old version of Go, and Go itself does not support releases prior to 1.18 -- and 1.18 is currently only supported for security backports. Switching to 1.18 allows this library to remove a few 1.15 / 1.16 backcompat files, and allows switching this library from interface{} to any.

Behavior changes

If group consuming fails with an error that looks non-retryable, the error is now injected into polling as a fake errored fetch. Multiple people have ran into problems where their group consumers were failing due to ACLs or due to network issues, and it is hard to detect these failures: you either have to pay close attention to logs, or you have to hook into HookGroupManageError. Now, the error is injected into polling.

Bug fixes

This release contains two bug fixes, one of which is very rare to encounter, and one of which is very easy to encounter but requires configuring the client in a way that (nearly) nobody does.

Rare: If you were using EndAndBeginTransaction, there was an internal race that could result in a deadlock.

Rare configuration: If you configured balancers manually, and you configured CooperativeSticky with any other eager balancer, then the client would internally sometimes think it was eager consuming, and sometimes think it was cooperative consuming. This would result in stuck partitions while consuming.

Features

  • HookClientClosed: A new hook that allows a callback when the client is closed.
  • HookProduceRecordPartitioned: A new hook that is called when a record's partition is chosen.
  • Client.ConfigValue: Returns the value for any configuration option.
  • Client.ConfigValues: Returns the values for any configuration option (for multiple value options, or for strings that are internally string pointers).
  • kadm: a few minor API improvements.
  • plugin/klogr: A new plugin that satisfies the go-logr/logr interfaces.
  • pkg/kfake: A new experimental package that will be added to over time, this mocks brokers and can be used in unit testing (only basic producing & consuming supported so far).

... (truncated)

Commits
  • d288770 Merge pull request #393 from twmb/changelog-v1.13.0
  • b9ce0f6 CHANGELOG: note incoming v1.13.0
  • d845069 Merge pull request #392 from twmb/txn_bugfix
  • 1b229ce kgo: bugfix transaction ending & beginning
  • 0eae6ae Merge pull request #391 from twmb/no_consume_recreated
  • d27690a kgo: internal resilience
  • 9a8f04a Revert "kgo: add ConsumeRecreatedTopics option, for UNKNOWN_TOPIC_ID"
  • ee51d5a Merge pull request #386 from twmb/hooks
  • 461d2ef kgo: add HookClientClosed and HookProduceRecordPartitioned
  • 24afab3 Merge pull request #383 from twmb/opt_interrogate
  • Additional commits viewable 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/pkg/kadm](https://github.com/twmb/franz-go) from 1.12.0 to 1.13.0.
- [Changelog](https://github.com/twmb/franz-go/blob/master/CHANGELOG.md)
- [Commits](twmb/franz-go@v1.12.0...v1.13.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner July 29, 2024 16:33
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 29, 2024
@github-actions github-actions bot enabled auto-merge (squash) July 29, 2024 16:33
@github-actions github-actions bot merged commit a4f2ceb into main Jul 29, 2024
6 checks passed
@github-actions github-actions bot deleted the dependabot/go_modules/github.com/twmb/franz-go/pkg/kadm-1.13.0 branch July 29, 2024 16:36
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.

0 participants