This release comes 74 days (just over two months) since the last minor release.
This mostly contains new features, with one relatively minor but important bug
addressed (and one very minor bug fixed).
Bug fixes
Fetch sessions now properly send forgotten topics if we forget the entire
topic (not just individual partitions while other partitions are still
consumed on the broker). For long-running clients where partitions move
around the cluster a bunch over time, this ensures we are not sending requests
with null topics / null topic IDs. See #535
for more details.
If the client talks to an http endpoint, we now properly detect the bytes
'HTTP' and send a more relevant error message. This previously existed, but
used the wrong int32 internally so 'HTTP' was not properly detected (thanks
@alistairking!).
Features
RecordReader now supports %v{json} to parse json inputs
RecordReader now supports %v{}, an empty no-op formatting directive
Adds PurgeTopicsFromProducing and PurgeTopicsFromConsuming to purge either
the producing or consuming half of the client, if you are producing to and
consuming from the same topics in the same client.
The new ConsiderMissingTopicDeletedAfter option allows finer grained
control for how long a regexp-discovered topic can be missing on the cluster
before the topic is considered deleted (and then internally purged in the
client)
Adds NewErrFetch to create a single-error Fetches, for use in end-user
tests / stubs.
The new MaxBufferedBytes option can control how many bytes are buffered
when producing, an option similar to MaxBufferedRecords.
Adds BufferedFetchBytes and BufferedProduceBytes to return the total
bytes in records buffered (note this counts only keys, values, and headers).
Adds PreTxnCommitFnContext to allow custom Metadata annotation for
transactional commits.
Adds LeaveGroupContext to control how long leaving a group can take, as
well as to return any leave group error.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 from 1.14.4 to 1.15.0.
Changelog
Sourced from github.com/twmb/franz-go's changelog.
... (truncated)
Commits
42172c9
Merge pull request #574 from twmb/changelog-v1.15.0003ffb7
changelog: update for incoming v1.15.02f8a7c4
Merge pull request #575 from twmb/precommittxn60b601a
kgo / changelog: last minute rename from CommitTxn to TxnCommit036f599
Merge pull request #571 from twmb/kadm-lag33a0fac
Merge pull request #573 from twmb/misce2f01a2
Merge pull request #572 from twmb/kgo-source-log2655e1f
kadm: document missing topics being elided when listing topicsf31eea7
kmsg: document more errors for describe user scram credentialsa3e5141
kgo: improve a log lineDependabot 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 show