build(deps): bump github.com/twmb/franz-go from 1.1.1 to 1.2.0 #109

Closed
dependabot[bot] wants to merge 1 commits from dependabot/go_modules/github.com/twmb/franz-go-1.2.0 into master
dependabot[bot] commented 2021-10-21 17:22:18 +03:00 (Migrated from github.com)

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

Changelog

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

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.

I am considering removing the default of snappy compression for the v1.3 release. I generally find it useful: many people forget to add compression which increases network costs and makes broker disks fill faster, and snappy compression is cheap cpu-wise and fast. However, some people are confused when their bandwidth metrics look lower than they expect, and snappy does mean throughput is not as high as it could be. Removal of snappy by default may or may not happen, but if anybody agrees or disagrees with it, please mention so in an issue or on discord.

There are a few minor behavior changes in this release that should make default clients safer (lowering max buffered memory) and faster on request failures. These behavior changes should not affect anything. As well, the bench utility no longer uses snappy by default.

Non-formatter/reader/kadm commits worth mentioning:

  • a8dbd2f broker: add context to responses that look like HTTP
  • ec0d81f broker: avoid non-debug logs on ErrClientClosed
  • af4fce4 beahvior change bench: use no compression by default, remove -no-compression flag
  • d368d11 bench: allow custom certs with -ca-cert, -client-cert, -client-key
  • fbf9239 broker: add two new connection types, cxnGroup and cxnSlow
  • 2d6c1a8 behavior change client: lower ConnTimeoutOverhead and RetryTimeout defaults
  • 9bcfc98 kgo: only run req/resp handling goroutines when needed
  • b9b592e behavior change kgo: change default MaxBufferedRecords from unlimited to 10,000
  • 19f4e9b and 58bf74a client: collapse shard errors
  • 126778a client: avoid sharding to partitions with no leader
  • 254764a behavior change kversion: skip WriteTxnMarkers for version guessing

v1.1.4

... (truncated)

Commits
  • bbcd318 CHANGELOG: doc v1.2.0
  • a8dbd2f broker: add context to responses that look like HTTP
  • 1d51332 kadm: add NumReplicas to PartitionDetails
  • c44763e kadm: fix recent breakages
  • c1c864b kadm: add NewOptClient to create client from kgo options
  • 2106580 kadm: add Close method
  • 68f7b1d kadm: sort brokers in metadata response by default
  • 36a40b7 all: update docs
  • 246a796 kadm: add MetadataWithoutTopics
  • 4ee9724 Revert "kmsg: add 60s timeout defaults where where were no defaults"
  • 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.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.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> <p>I am considering removing the default of snappy compression for the v1.3 release. I generally find it useful: many people forget to add compression which increases network costs and makes broker disks fill faster, and snappy compression is cheap cpu-wise and fast. However, some people are confused when their bandwidth metrics look lower than they expect, and snappy <em>does</em> mean throughput is not <em>as</em> high as it could be. Removal of snappy by default may or may not happen, but if anybody agrees or disagrees with it, please mention so in an issue or on discord.</p> <p>There are a few minor behavior changes in this release that should make default clients safer (lowering max buffered memory) and faster on request failures. These behavior changes should not affect anything. As well, the <code>bench</code> utility no longer uses snappy by default.</p> <p>Non-formatter/reader/kadm commits worth mentioning:</p> <ul> <li><a href="https://github.com/twmb/franz-go/commit/a8dbd2f"><code>a8dbd2f</code></a> broker: add context to responses that look like HTTP</li> <li><a href="https://github.com/twmb/franz-go/commit/ec0d81f"><code>ec0d81f</code></a> broker: avoid non-debug logs on ErrClientClosed</li> <li><a href="https://github.com/twmb/franz-go/commit/af4fce4"><code>af4fce4</code></a> <strong>beahvior change</strong> bench: use no compression by default, remove -no-compression flag</li> <li><a href="https://github.com/twmb/franz-go/commit/d368d11"><code>d368d11</code></a> bench: allow custom certs with -ca-cert, -client-cert, -client-key</li> <li><a href="https://github.com/twmb/franz-go/commit/fbf9239"><code>fbf9239</code></a> broker: add two new connection types, cxnGroup and cxnSlow</li> <li><a href="https://github.com/twmb/franz-go/commit/2d6c1a8"><code>2d6c1a8</code></a> <strong>behavior change</strong> client: lower ConnTimeoutOverhead and RetryTimeout defaults</li> <li><a href="https://github.com/twmb/franz-go/commit/9bcfc98"><code>9bcfc98</code></a> kgo: only run req/resp handling goroutines when needed</li> <li><a href="https://github.com/twmb/franz-go/commit/b9b592e"><code>b9b592e</code></a> <strong>behavior change</strong> kgo: change default MaxBufferedRecords from unlimited to 10,000</li> <li><a href="https://github.com/twmb/franz-go/commit/19f4e9b"><code>19f4e9b</code></a> and <a href="https://github.com/twmb/franz-go/commit/58bf74a"><code>58bf74a</code></a> client: collapse shard errors</li> <li><a href="https://github.com/twmb/franz-go/commit/126778a"><code>126778a</code></a> client: avoid sharding to partitions with no leader</li> <li><a href="https://github.com/twmb/franz-go/commit/254764a"><code>254764a</code></a> <strong>behavior change</strong> kversion: skip WriteTxnMarkers for version guessing</li> </ul> <h1>v1.1.4</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/twmb/franz-go/commit/bbcd31826bddea901fbe8515e09810d0f1578384"><code>bbcd318</code></a> CHANGELOG: doc v1.2.0</li> <li><a href="https://github.com/twmb/franz-go/commit/a8dbd2ff216c7c31778125155b9abfe863846e11"><code>a8dbd2f</code></a> broker: add context to responses that look like HTTP</li> <li><a href="https://github.com/twmb/franz-go/commit/1d51332a9bbeef1792963f2d4276fa4cbb8cc61b"><code>1d51332</code></a> kadm: add NumReplicas to PartitionDetails</li> <li><a href="https://github.com/twmb/franz-go/commit/c44763e95e256e2da3a65ea5f01fbd61d128309e"><code>c44763e</code></a> kadm: fix recent breakages</li> <li><a href="https://github.com/twmb/franz-go/commit/c1c864b1b23e544443f91e5188173cba49ed419a"><code>c1c864b</code></a> kadm: add NewOptClient to create client from kgo options</li> <li><a href="https://github.com/twmb/franz-go/commit/210658003f9da18862dd3a7c7021c7d876e0c289"><code>2106580</code></a> kadm: add Close method</li> <li><a href="https://github.com/twmb/franz-go/commit/68f7b1d69c8851662fa5a07e5b4e442966bd079f"><code>68f7b1d</code></a> kadm: sort brokers in metadata response by default</li> <li><a href="https://github.com/twmb/franz-go/commit/36a40b75580d4d83ea7c64f0781e6d22f95ad72e"><code>36a40b7</code></a> all: update docs</li> <li><a href="https://github.com/twmb/franz-go/commit/246a796e4aa2b99c484fc9d81cc42a97248e218e"><code>246a796</code></a> kadm: add MetadataWithoutTopics</li> <li><a href="https://github.com/twmb/franz-go/commit/4ee97245a1040aea02d8db7f5c1c61d94886422a"><code>4ee9724</code></a> Revert &quot;kmsg: add 60s timeout defaults where where were no defaults&quot;</li> <li>Additional commits viewable in <a href="https://github.com/twmb/franz-go/compare/v1.1.1...v1.2.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.1.1&new-version=1.2.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>
dependabot[bot] commented 2021-10-25 17:26:04 +03:00 (Migrated from github.com)

Superseded by #110.

Superseded by #110.

Pull request closed

Sign in to join this conversation.
No description provided.