build(deps): bump github.com/twmb/franz-go from 1.2.4 to 1.2.6 #130

Closed
dependabot[bot] wants to merge 1 commits from dependabot/go_modules/github.com/twmb/franz-go-1.2.6 into master
dependabot[bot] commented 2021-12-07 17:29:55 +03:00 (Migrated from github.com)

Bumps github.com/twmb/franz-go from 1.2.4 to 1.2.6.

Changelog

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

v1.2.6

This patch release contains a behavior change to immediate metadata triggers to better support some loading error conditions and drops the default MetadataMinAge from 10s to 5s. For more details, see commit 8325ba7 or issue 114.

This release also contains a bugfix for using preferred read replicas. Previously, if a replica was not the leader of any partition being consumed, the client would not internally save knowledge of that replica and it could not be consumed from. This would result in the client ping-ponging trying to fetch from the leader and then erroring when the leader indicates the client should consume from a replica the client does not know about. This is no longer the case.

Lastly, this patch fixes the behavior of rotating through partitions while consuming. Previously, the client rotated through partitions to evaluate for consuming, but then saved those partitions to nested maps which had non-deterministic (and, due to how Go ranges, mostly not-that-random) range semantics. The client now always rotates through partitions and topics in the order the partitions are evaluated. The old behavior could theoretically lead to more starvation than necessary while consuming. The new behavior should have no starvation, but really due to the randomness of the prior behavior, the new semantics may be a wash. However, the new semantics are the original intended semantics.

  • bc391a3 improvement source: rotate through topics/partitions as we fetch
  • 6bbdaa2 bugfix client: create a sink & source for all partition replicas
  • 8325ba7 behavior change metadata: minor changes, & wait a bit when looping for now triggers
  • b8b7bd1 behavior change RecordFormatter: always use UTC
  • 6ab9044 kadm: return defined errors for On functions

v1.2.5

This small patch release fixes one non-impacting bug in SCRAM authentication, and allows more errors to be abort&retryable rather than fatal while transactionally committing.

For SCRAM, this client did not implement the client-final-reply completely correctly: this client replied with just the client nonce, not the client nonce + server nonce. Technically this was not to spec, but no broker today enforces this final nonce correctly. However, the client has been fixed so that if someday brokers do start enforcing the nonce correctly, this client will be ready.

... (truncated)

Commits
  • a48f405 CHANGELOG: note v1.2.6
  • bc391a3 source: rotate through topics/partitions as we fetch
  • 6bbdaa2 client: create a sink & source for all partition replicas
  • 8325ba7 metadata: minor changes, & wait a bit when looping for now triggers
  • b8b7bd1 RecordFormatter: always use UTC
  • 6ab9044 kadm: return defined errors for On functions
  • 90557f2 Merge pull request #113 from travisdowns/issue-112
  • bc17cc6 Run go mod tidy on examples
  • d0a262a note v1.2.5
  • 17dfae8 go.{mod,sum}: update deps
  • 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.2.4 to 1.2.6. <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.6</h1> <p>This patch release contains a behavior change to immediate metadata triggers to better support some loading error conditions and drops the default MetadataMinAge from 10s to 5s. For more details, see commit <a href="https://github.com/twmb/franz-go/commit/8325ba7"><code>8325ba7</code></a> or issue <a href="https://github-redirect.dependabot.com/twmb/franz-go/issues/114">114</a>.</p> <p>This release also contains a bugfix for using preferred read replicas. Previously, if a replica was not the leader of any partition being consumed, the client would not internally save knowledge of that replica and it could not be consumed from. This would result in the client ping-ponging trying to fetch from the leader and then erroring when the leader indicates the client should consume from a replica the client does not know about. This is no longer the case.</p> <p>Lastly, this patch fixes the behavior of rotating through partitions while consuming. Previously, the client rotated through partitions to evaluate for consuming, but then saved those partitions to nested maps which had non-deterministic (and, due to how Go ranges, mostly not-that-random) range semantics. The client now always rotates through partitions and topics in the order the partitions are evaluated. The old behavior could theoretically lead to more starvation than necessary while consuming. The new behavior should have no starvation, but really due to the randomness of the prior behavior, the new semantics may be a wash. However, the new semantics are the original intended semantics.</p> <ul> <li><a href="https://github.com/twmb/franz-go/commit/bc391a3"><code>bc391a3</code></a> <strong>improvement</strong> source: rotate through topics/partitions as we fetch</li> <li><a href="https://github.com/twmb/franz-go/commit/6bbdaa2"><code>6bbdaa2</code></a> <strong>bugfix</strong> client: create a sink &amp; source for all partition replicas</li> <li><a href="https://github.com/twmb/franz-go/commit/8325ba7"><code>8325ba7</code></a> <strong>behavior change</strong> metadata: minor changes, &amp; wait a bit when looping for now triggers</li> <li><a href="https://github.com/twmb/franz-go/commit/b8b7bd1"><code>b8b7bd1</code></a> <strong>behavior change</strong> RecordFormatter: always use UTC</li> <li><a href="https://github.com/twmb/franz-go/commit/6ab9044"><code>6ab9044</code></a> kadm: return defined errors for On functions</li> </ul> <h1>v1.2.5</h1> <p>This small patch release fixes one non-impacting bug in SCRAM authentication, and allows more errors to be abort&amp;retryable rather than fatal while transactionally committing.</p> <p>For SCRAM, this client did not implement the client-final-reply completely correctly: this client replied with just the <code>client nonce</code>, not the <code>client nonce + server nonce</code>. Technically this was not to spec, but no broker today enforces this final nonce correctly. However, the client has been fixed so that if someday brokers do start enforcing the nonce correctly, this client will be ready.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/twmb/franz-go/commit/a48f4051ccafdd18f57f39d9bd2d3c8b299e3a3b"><code>a48f405</code></a> CHANGELOG: note v1.2.6</li> <li><a href="https://github.com/twmb/franz-go/commit/bc391a31c0eb2ad202f6636e37d9326475b6e706"><code>bc391a3</code></a> source: rotate through topics/partitions as we fetch</li> <li><a href="https://github.com/twmb/franz-go/commit/6bbdaa20e6d3231a2cf264c4614378fcc6961118"><code>6bbdaa2</code></a> client: create a sink &amp; source for all partition replicas</li> <li><a href="https://github.com/twmb/franz-go/commit/8325ba7c59b1f9b3b25de5e01242194fa73d44e9"><code>8325ba7</code></a> metadata: minor changes, &amp; wait a bit when looping for now triggers</li> <li><a href="https://github.com/twmb/franz-go/commit/b8b7bd1ea3b34a1a904fbf48b72f5273ec066eb6"><code>b8b7bd1</code></a> RecordFormatter: always use UTC</li> <li><a href="https://github.com/twmb/franz-go/commit/6ab90446136a9580499ecc3c242815e8613eb87b"><code>6ab9044</code></a> kadm: return defined errors for On functions</li> <li><a href="https://github.com/twmb/franz-go/commit/90557f2d63cb9daf9d27793ab7fbf0ef96b62e06"><code>90557f2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/twmb/franz-go/issues/113">#113</a> from travisdowns/issue-112</li> <li><a href="https://github.com/twmb/franz-go/commit/bc17cc6981887b482bd83162af6dfe527e7cbf42"><code>bc17cc6</code></a> Run go mod tidy on examples</li> <li><a href="https://github.com/twmb/franz-go/commit/d0a262ad1fe2907caecaacf26a286786506099c2"><code>d0a262a</code></a> note v1.2.5</li> <li><a href="https://github.com/twmb/franz-go/commit/17dfae88f0e1a7870255a68b90888febb4a5d81d"><code>17dfae8</code></a> go.{mod,sum}: update deps</li> <li>Additional commits viewable in <a href="https://github.com/twmb/franz-go/compare/v1.2.4...v1.2.6">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.2.4&new-version=1.2.6)](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>
dependabot[bot] commented 2021-12-29 01:28:35 +03:00 (Migrated from github.com)

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

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

Pull request closed

Sign in to join this conversation.
No description provided.