Bump github.com/twmb/franz-go from 1.1.1 to 1.2.2 #15

Merged
dependabot[bot] merged 1 commits from dependabot/go_modules/github.com/twmb/franz-go-1.2.2 into master 2021-10-27 18:03:34 +03:00
dependabot[bot] commented 2021-10-25 14:18:29 +03:00 (Migrated from github.com)

Bumps github.com/twmb/franz-go from 1.1.1 to 1.2.2.

Changelog

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

v1.2.2

This patch release fixes a bug with cooperative group consuming. If a cooperative group member rebalances before offset fetching returns, then it will not resume offset fetching partitions it kept across the rebalance. It will only offset fetch new partitions.

This release fixes that by tracking a bit of fetch state across rebalances for cooperative consumers. See the embedded comments in the commit for more details.

  • 4f2e7fe bugfix consumer group: fix cooperative rebalancing losing offset fetches

v1.2.1

This patch release fixes a panic that can occur in the following sequence of events:

  1. a LeaveGroup occurs (which always happens in Close)
  2. the cluster moves a partition from one broker to another
  3. a metadata refresh occurs and sees the partition has moved

Whenever a client closes, Close calls LeaveGroup (even if not in a group), and there is a small window of time before the metadata loop quits.

  • 864526a bugfix consuming: avoid setting cursors to nil on LeaveGroup

v1.2.0

This release contains new formatting features and sets the stage for a new admin administration package to be added in v1.3.0. For now, the kadm package is in a separate unversioned module. The API is relatively stable, but I'd like to play with it some more to figure out what needs changing or not. Any external experimenting and feedback is welcome.

There are two new types introduced in the kgo package: RecordFormatter and RecordReader. Both of these extract and improve logic used in the kcl repo. These are effectively powerful ways to format records into bytes, and read bytes into records. They are not exactly opposites of each other due to reasons mentioned in the docs. I expect formatting to be more useful than reading, and formatting is actually surprisingly fast if the formatter is reused. The one off Record.AppendFormat builds a new formatter on each use and should only be used if needed infrequently, because building the formatter is the slow part.

... (truncated)

Commits
  • 4dadd65 CHANGELOG: note v1.2.2
  • 4f2e7fe consumer group: bugfix cooperative rebalancing losing offset fetches
  • 696392e kgo: improve logging on metadata triggers, fetched offsets, rejoins
  • d9054e0 kadm: add create/delete/describe acls
  • 020dab4 Merge pull request #97 from skidder/sk-tests-for-xerial-snappy
  • 39b5bb2 Add tests for xerial snappy decode
  • d12308a CHANGELOG: update v1.2.1 note
  • 725138b CHANGELOG: note v1.2.1
  • 864526a consuming: avoid setting cursors to nil on LeaveGroup
  • b415080 Merge pull request #95 from turkenh/fix-create-partitions
  • 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](https://github.com/twmb/franz-go) from 1.1.1 to 1.2.2. <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's changelog</a>.</em></p> <blockquote> <h1>v1.2.2</h1> <p>This patch release fixes a bug with cooperative group consuming. If a cooperative group member rebalances before offset fetching returns, then it will not resume offset fetching partitions it kept across the rebalance. It will only offset fetch new partitions.</p> <p>This release fixes that by tracking a bit of fetch state across rebalances for cooperative consumers. See the embedded comments in the commit for more details.</p> <ul> <li><a href="https://github.com/twmb/franz-go/commit/4f2e7fe"><code>4f2e7fe</code></a> <strong>bugfix</strong> consumer group: fix cooperative rebalancing losing offset fetches</li> </ul> <h1>v1.2.1</h1> <p>This patch release fixes a panic that can occur in the following sequence of events:</p> <ol> <li>a LeaveGroup occurs (which always happens in Close)</li> <li>the cluster moves a partition from one broker to another</li> <li>a metadata refresh occurs and sees the partition has moved</li> </ol> <p>Whenever a client closes, <code>Close</code> calls <code>LeaveGroup</code> (even if not in a group), and there is a small window of time before the metadata loop quits.</p> <ul> <li><a href="https://github.com/twmb/franz-go/commit/864526a"><code>864526a</code></a> <strong>bugfix</strong> consuming: avoid setting cursors to nil on LeaveGroup</li> </ul> <h1>v1.2.0</h1> <p>This release contains new formatting features and sets the stage for a new admin administration package to be added in v1.3.0. For now, the <code>kadm</code> package is in a separate unversioned module. The API is relatively stable, but I'd like to play with it some more to figure out what needs changing or not. Any external experimenting and feedback is welcome.</p> <p>There are two new types introduced in the kgo package: <code>RecordFormatter</code> and <code>RecordReader</code>. Both of these extract and improve logic used in the <a href="https://github.com/twmb/franz-go/blob/master/github.com/twmb/kcl"><code>kcl</code></a> repo. These are effectively powerful ways to format records into bytes, and read bytes into records. They are not <em>exactly</em> opposites of each other due to reasons mentioned in the docs. I expect formatting to be more useful than reading, and formatting is actually surprisingly fast if the formatter is reused. The one off <code>Record.AppendFormat</code> builds a new formatter on each use and should only be used if needed infrequently, because building the formatter is the slow part.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/twmb/franz-go/commit/4dadd657f3f532db63429f6140fe357519359fff"><code>4dadd65</code></a> CHANGELOG: note v1.2.2</li> <li><a href="https://github.com/twmb/franz-go/commit/4f2e7fe3f420f0b8e68430fbf826c38070a2c0f4"><code>4f2e7fe</code></a> consumer group: bugfix cooperative rebalancing losing offset fetches</li> <li><a href="https://github.com/twmb/franz-go/commit/696392e6970f43e8f6c888f92fb53742f21bc609"><code>696392e</code></a> kgo: improve logging on metadata triggers, fetched offsets, rejoins</li> <li><a href="https://github.com/twmb/franz-go/commit/d9054e0c63dfe97efc21ce2f43f6367bf63ba5f3"><code>d9054e0</code></a> kadm: add create/delete/describe acls</li> <li><a href="https://github.com/twmb/franz-go/commit/020dab47b0380cae13a93b1c82a0a299c7d0c97a"><code>020dab4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/twmb/franz-go/issues/97">#97</a> from skidder/sk-tests-for-xerial-snappy</li> <li><a href="https://github.com/twmb/franz-go/commit/39b5bb23af109a55990c2deee00d4c10c8764664"><code>39b5bb2</code></a> Add tests for xerial snappy decode</li> <li><a href="https://github.com/twmb/franz-go/commit/d12308a477df80b460c19db9871397dded099736"><code>d12308a</code></a> CHANGELOG: update v1.2.1 note</li> <li><a href="https://github.com/twmb/franz-go/commit/725138bfea270f28def38e79b42c7d7186a4ff9c"><code>725138b</code></a> CHANGELOG: note v1.2.1</li> <li><a href="https://github.com/twmb/franz-go/commit/864526a463cdea218111009f3c5ac4823d00aa48"><code>864526a</code></a> consuming: avoid setting cursors to nil on LeaveGroup</li> <li><a href="https://github.com/twmb/franz-go/commit/b415080bed364331c91b72fd8036c2e324e6a322"><code>b415080</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/twmb/franz-go/issues/95">#95</a> from turkenh/fix-create-partitions</li> <li>Additional commits viewable in <a href="https://github.com/twmb/franz-go/compare/v1.1.1...v1.2.2">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&package-manager=go_modules&previous-version=1.1.1&new-version=1.2.2)](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>
vtolstov (Migrated from github.com) approved these changes 2021-10-27 17:49:38 +03:00
vtolstov (Migrated from github.com) approved these changes 2021-10-27 17:50:38 +03:00
vtolstov commented 2021-10-27 17:54:10 +03:00 (Migrated from github.com)

@dependabot recreate

@dependabot recreate
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/micro-broker-kgo#15
No description provided.