Bump github.com/twmb/franz-go from 1.5.2 to 1.6.0 #68

Merged
dependabot[bot] merged 1 commits from dependabot/go_modules/github.com/twmb/franz-go-1.6.0 into v3 2022-06-25 23:15:38 +03:00
dependabot[bot] commented 2022-06-01 15:05:01 +03:00 (Migrated from github.com)

Bumps github.com/twmb/franz-go from 1.5.2 to 1.6.0.

Changelog

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

v1.6.0

This release contains two new APIs, a minor bugfix, and other notable improvements and stabilizations.

The kadm package is now stabilized as a separate, v1.0 module. This module will remain separate from the top level franz-go so that it can have independent minor releases, and has more freedom to have major version bumps if necessary. I took stabilization as an opportunity to break & fix some infrequently used APIs; this can be seen in the commit linked below.

I have also created a new package for the schema registry, sr. This will likely live as a separate module for similar reasons to kmsg and kadm: to have more freedom to make major-version-changing breaking changes if Confluent decides to change some of their HTTP API. I expect to stabilize sr once I know of at least one use case that helps double check the API is alright.

Bugfix

Previously, if you consumed a topic that had record timestamps generated by the broker per LogAppendTime, this client would not set the timestamp properly when consumed. We now set the timestamp properly.

Improvements

The client now allows the user to set a timestamp when producing: if a record's timestamp is non-zero, the client will not override it.

The default partitioner has been changed to the new UniformBytesPartitioner. This is an improvement on the previous StickyKeyPartitioner in a few ways and can be read about in [KIP-794][KIP-794]. The implementation in this client is slightly different from KIP-794 in ways that are documented on the UniformBytesPartitioner itself. This new partitioner can result in more balanced load over a long period of producing to your brokers.

Features

  • UniformBytesPartitioner exists, which can be used for more balanced producing over long time periods. The default batch size switch is 64KiB, and you may want to tune this up or down if you produce in high or low throughput.

  • kversion.V3_2_0() now officially exists, and kversion correctly detects v3.2 brokers.

... (truncated)

Commits
  • 18e3b54 CHANGELOG/README: note v1.6.0, 3.2 support
  • 1903df0 kadm.AlterReplicaLogDirsReq: document slightly better
  • 16c397d kadm.Describe*LogDirs: fix bug when specifying topics
  • 02a858a kadm.Describe*LogDirs: allow nil input topic sets
  • 0911187 kadm.TopicDetails: add more helper functions
  • 4bccf42 kmsg: fix typo
  • 5d17fc1 kadm: add support for AlterReplicaLogDirs, DescribeLogDirs
  • 3674c31 kadm.TopicsSet: add Merge
  • 6374f71 kadm: add helper functions to GroupLag
  • b279658 kadm: break APIs for 1.0
  • 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.5.2 to 1.6.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's changelog</a>.</em></p> <blockquote> <h1>v1.6.0</h1> <p>This release contains two new APIs, a minor bugfix, and other notable improvements and stabilizations.</p> <p>The <a href="https://pkg.go.dev/github.com/twmb/franz-go/pkg/kadm">kadm</a> package is now stabilized as a separate, <a href="https://github.com/twmb/franz-go/releases/tag/pkg%2Fkadm%2Fv1.0.0">v1.0 module</a>. This module will remain separate from the top level franz-go so that it can have independent minor releases, and has more freedom to have major version bumps if necessary. I took stabilization as an opportunity to break &amp; fix some infrequently used APIs; this can be seen in the commit linked below.</p> <p>I have also created a new package for the schema registry, <a href="https://pkg.go.dev/github.com/twmb/franz-go/pkg/sr">sr</a>. This will likely live as a separate module for similar reasons to kmsg and kadm: to have more freedom to make major-version-changing breaking changes if Confluent decides to change some of their HTTP API. I expect to stabilize sr once I know of at least one use case that helps double check the API is alright.</p> <h2>Bugfix</h2> <p>Previously, if you consumed a topic that had record timestamps generated by the broker per <code>LogAppendTime</code>, this client would not set the timestamp properly when consumed. We now set the timestamp properly.</p> <h2>Improvements</h2> <p>The client now allows the user to set a timestamp when producing: if a record's timestamp is non-zero, the client will not override it.</p> <p>The default partitioner has been changed to the new <code>UniformBytesPartitioner</code>. This is an improvement on the previous <code>StickyKeyPartitioner</code> in a few ways and can be read about in [KIP-794][KIP-794]. The implementation in this client is slightly different from KIP-794 in ways that are documented on the <code>UniformBytesPartitioner</code> itself. This new partitioner can result in more balanced load over a long period of producing to your brokers.</p> <h2>Features</h2> <ul> <li> <p><code>UniformBytesPartitioner</code> exists, which can be used for more balanced producing over long time periods. The default batch size switch is 64KiB, and you may want to tune this up or down if you produce in high or low throughput.</p> </li> <li> <p><code>kversion.V3_2_0()</code> now officially exists, and kversion correctly detects v3.2 brokers.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/twmb/franz-go/commit/18e3b5499254d60ac8eaa44df170dcd65875eac6"><code>18e3b54</code></a> CHANGELOG/README: note v1.6.0, 3.2 support</li> <li><a href="https://github.com/twmb/franz-go/commit/1903df06ed5e7a6a4569bac8a16d5476bde11bf5"><code>1903df0</code></a> kadm.AlterReplicaLogDirsReq: document slightly better</li> <li><a href="https://github.com/twmb/franz-go/commit/16c397dd45aa5cde9d100a5a0b9e23eb96289048"><code>16c397d</code></a> kadm.Describe*LogDirs: fix bug when specifying topics</li> <li><a href="https://github.com/twmb/franz-go/commit/02a858a360db1a3c4715ca5bcbafc511c692f2bb"><code>02a858a</code></a> kadm.Describe*LogDirs: allow nil input topic sets</li> <li><a href="https://github.com/twmb/franz-go/commit/091118715a61ecac0f8e0a4bbafde4a7d3be31c6"><code>0911187</code></a> kadm.TopicDetails: add more helper functions</li> <li><a href="https://github.com/twmb/franz-go/commit/4bccf423d38cba9d713423aa002e5422674269dd"><code>4bccf42</code></a> kmsg: fix typo</li> <li><a href="https://github.com/twmb/franz-go/commit/5d17fc1a6ef0c63932a4bd8dbc5959cba067affd"><code>5d17fc1</code></a> kadm: add support for AlterReplicaLogDirs, DescribeLogDirs</li> <li><a href="https://github.com/twmb/franz-go/commit/3674c3161e416a5977c8d0cf36025606caea36f5"><code>3674c31</code></a> kadm.TopicsSet: add Merge</li> <li><a href="https://github.com/twmb/franz-go/commit/6374f712581dd813d2bd842e9e313c52ea3dfef3"><code>6374f71</code></a> kadm: add helper functions to GroupLag</li> <li><a href="https://github.com/twmb/franz-go/commit/b27965876d058af3bddb85b499dd0340a68d61a1"><code>b279658</code></a> kadm: break APIs for 1.0</li> <li>Additional commits viewable in <a href="https://github.com/twmb/franz-go/compare/v1.5.2...v1.6.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&package-manager=go_modules&previous-version=1.5.2&new-version=1.6.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 2022-06-01 15:05:19 +03:00
github-actions[bot] (Migrated from github.com) approved these changes 2022-06-25 22:48:36 +03:00
Sign in to join this conversation.
No description provided.