Bump github.com/twmb/franz-go/pkg/kmsg from 1.2.0 to 1.3.0 #107

Merged
dependabot[bot] merged 1 commits from dependabot/go_modules/github.com/twmb/franz-go/pkg/kmsg-1.3.0 into v3 2023-01-31 06:51:26 +03:00
dependabot[bot] commented 2023-01-30 14:07:58 +03:00 (Migrated from github.com)

Bumps github.com/twmb/franz-go/pkg/kmsg from 1.2.0 to 1.3.0.

Changelog

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

v1.3.0; if using a GroupTransactSession, it is recommended you upgrade to this release.

The next release aims to be v1.4.0, this release is a small one to address a few issues before the much larger and feature filled v1.4 release.

  • 010e8e1 txn: fix panic in GroupTransactSession.End
  • f9cd625 consuming: handle exact offset consuming better
  • 2ab1978 EndTransaction: return nil rather than an error if not in a transaction
  • 96bfe52 broker: remove 5s minimum for sasl session lifetime

v1.3.4

This small patch release fixes a problem with 4f2e7fe3 which was meant to address #98. The fix was not complete in that the fix would only trigger if a group member had partitions added to it. We now rearrange the logic such that it occurs always. This bug was found while making a change in the code in support of a new feature in the v1.4 branch; this bug was not encountered in production.

This also bumps the franz-go/pkg/kmsg dependency so that JoinGroup.Reason is properly tagged as v9+.

The next release will be v1.4, which is nearly ready to be merged into this branch and tagged. Follow issue #135 for more details.

  • 02560c7 consumer group: bugfix fetch offsets spanning rebalance

v1.3.3

This patch release contains two minor bug fixes and a few small behavior changes. The upcoming v1.4 release will contain more changes to lint the entire codebase and will have a few new options as features to configure the client internals. There are a few features in development yet that I would like to complete before tagging the next minor release.

Bug fixes

Repeated integration testing resulted in a rare data race, and one other bug was found by linting. For the race, if a group was left or heartbeating stopped before offset fetching finished, then there would be a concurrent double write to an error variable: one write would try to write an error from the request being cut (which would be context.Canceled), and the other write would write the same error, but directly from ctx.Err. Since both of these are the same type pointer and data pointer, it is unlikely this race would result in anything if it was ever encountered, and encountering it would be rare.

... (truncated)

Commits
  • d62f1be changelog: note v1.3.0
  • e0b520c kadm: set per-partition errors on missing offsets in CommitOffsets
  • 32425df client: add Ping method
  • a059901 txns: sleep 200ms on commit, preventing rebalance / new commit
  • 12eaa1e metadata: allow leader epoch rewinds after 5 tries
  • 029e655 Produce{,Sync}: default to context.Background if no ctx is provided
  • eb2cec3 client: stop seed brokers on client.Close
  • 2eae20d consumer: allow SetOffsets for direct partition consuming
  • 3cb68bf Merge pull request #120 from michaelwilner/master
  • f5414b2 Update docstring
  • 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 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/kmsg](https://github.com/twmb/franz-go) from 1.2.0 to 1.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/twmb/franz-go/blob/master/CHANGELOG.md">github.com/twmb/franz-go/pkg/kmsg's changelog</a>.</em></p> <blockquote> <p>v1.3.0; if using a <code>GroupTransactSession</code>, it is recommended you upgrade to this release.</p> <p>The next release aims to be v1.4.0, this release is a small one to address a few issues before the much larger and feature filled v1.4 release.</p> <ul> <li><a href="https://github.com/twmb/franz-go/commit/010e8e1"><code>010e8e1</code></a> txn: fix panic in GroupTransactSession.End</li> <li><a href="https://github.com/twmb/franz-go/commit/f9cd625"><code>f9cd625</code></a> consuming: handle exact offset consuming better</li> <li><a href="https://github.com/twmb/franz-go/commit/2ab1978"><code>2ab1978</code></a> EndTransaction: return nil rather than an error if not in a transaction</li> <li><a href="https://github.com/twmb/franz-go/commit/96bfe52"><code>96bfe52</code></a> broker: remove 5s minimum for sasl session lifetime</li> </ul> <h1>v1.3.4</h1> <p>This small patch release fixes a problem with <a href="https://github.com/twmb/franz-go/commit/4f2e7fe3"><code>4f2e7fe3</code></a> which was meant to address <a href="https://github-redirect.dependabot.com/twmb/franz-go/issues/98">#98</a>. The fix was not complete in that the fix would only trigger if a group member had partitions added to it. We now rearrange the logic such that it occurs always. This bug was found while making a change in the code in support of a new feature in the v1.4 branch; this bug was not encountered in production.</p> <p>This also bumps the franz-go/pkg/kmsg dependency so that <code>JoinGroup.Reason</code> is properly tagged as v9+.</p> <p>The next release will be v1.4, which is nearly ready to be merged into this branch and tagged. Follow issue <a href="https://github-redirect.dependabot.com/twmb/franz-go/issues/135">#135</a> for more details.</p> <ul> <li><a href="https://github.com/twmb/franz-go/commit/02560c7"><code>02560c7</code></a> consumer group: bugfix fetch offsets spanning rebalance</li> </ul> <h1>v1.3.3</h1> <p>This patch release contains two minor bug fixes and a few small behavior changes. The upcoming v1.4 release will contain more changes to lint the entire codebase and will have a few new options as features to configure the client internals. There are a few features in development yet that I would like to complete before tagging the next minor release.</p> <h2>Bug fixes</h2> <p>Repeated integration testing resulted in a rare data race, and one other bug was found by linting. For the race, if a group was left <em>or</em> heartbeating stopped <em>before</em> offset fetching finished, then there would be a concurrent double write to an error variable: one write would try to write an error from the request being cut (which would be <code>context.Canceled</code>), and the other write would write the same error, but directly from <code>ctx.Err</code>. Since both of these are the same type pointer and data pointer, it is unlikely this race would result in anything if it was ever encountered, and encountering it would be rare.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/twmb/franz-go/commit/d62f1bef74f97fb40041cd1199338f051b955592"><code>d62f1be</code></a> changelog: note v1.3.0</li> <li><a href="https://github.com/twmb/franz-go/commit/e0b520c8a7d1da75db8ebde36b666ea784cb43f4"><code>e0b520c</code></a> kadm: set per-partition errors on missing offsets in CommitOffsets</li> <li><a href="https://github.com/twmb/franz-go/commit/32425df315f0d9b080901a7da28e4580e5dc07a4"><code>32425df</code></a> client: add Ping method</li> <li><a href="https://github.com/twmb/franz-go/commit/a059901629934345288a1a6c1a9f2ed2ef635019"><code>a059901</code></a> txns: sleep 200ms on commit, preventing rebalance / new commit</li> <li><a href="https://github.com/twmb/franz-go/commit/12eaa1e41c036639a8fb97bb557ae49375225a53"><code>12eaa1e</code></a> metadata: allow leader epoch rewinds after 5 tries</li> <li><a href="https://github.com/twmb/franz-go/commit/029e65549d78531915df452289707baf130c7c9e"><code>029e655</code></a> Produce{,Sync}: default to context.Background if no ctx is provided</li> <li><a href="https://github.com/twmb/franz-go/commit/eb2cec3b3df798189eeb60db8ad62be8ec42d18d"><code>eb2cec3</code></a> client: stop seed brokers on client.Close</li> <li><a href="https://github.com/twmb/franz-go/commit/2eae20de4cba1fb28e2a33c4390179be6b9a1972"><code>2eae20d</code></a> consumer: allow SetOffsets for direct partition consuming</li> <li><a href="https://github.com/twmb/franz-go/commit/3cb68bf69e28eb5d17c8006e15595ad2b8e6bf39"><code>3cb68bf</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/twmb/franz-go/issues/120">#120</a> from michaelwilner/master</li> <li><a href="https://github.com/twmb/franz-go/commit/f5414b2e8e0bc08109d6763fb6373052176c6ba0"><code>f5414b2</code></a> Update docstring</li> <li>Additional commits viewable in <a href="https://github.com/twmb/franz-go/compare/v1.2.0...v1.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/twmb/franz-go/pkg/kmsg&package-manager=go_modules&previous-version=1.2.0&new-version=1.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details>
github-actions[bot] (Migrated from github.com) reviewed 2023-01-30 14:08:14 +03:00
github-actions[bot] (Migrated from github.com) reviewed 2023-01-30 14:15:49 +03:00
github-actions[bot] (Migrated from github.com) reviewed 2023-01-30 21:19:06 +03:00
github-actions[bot] (Migrated from github.com) approved these changes 2023-01-30 21:25:16 +03:00
Sign in to join this conversation.
No description provided.