Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump kafka-protocol from 0.10.2 to 0.13.0 #8540

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 15, 2024

Bumps kafka-protocol from 0.10.2 to 0.13.0.

Release notes

Sourced from kafka-protocol's releases.

0.13.0

What's Changed

Full Changelog: tychedelia/kafka-protocol-rs@0.12.0...0.13.0

0.12.0

What's Changed

Full Changelog: tychedelia/kafka-protocol-rs@0.11.0...0.12.0

0.11.0

What's Changed

Full Changelog: tychedelia/kafka-protocol-rs@0.10.2...0.11.0

Changelog

Sourced from kafka-protocol's changelog.

v0.13.0

  • All "map" types in the protocol that were previously of type IndexMap<K, V> are now of type Vec<V>, the value of K is stored as a field within V.
    • This was done to resolve tychedelia/kafka-protocol-rs#84 and improve decoding speed.
    • If you were previously calling .get() on the map, the best way to migrate is to refactor your code to avoid the need to lookup by iterating over the items in the response instead.
    • Alternatively, you could replace responses.get(name) with something like responses.iter().find(|x| x.name == name) to achieve the same result. But note that this access is now O(N) instead of O(1).
    • Alternatively, you could use an intermediate hashmap before converting to a Vec to retain the O(1) lookup.
  • Update protocol to kafka 3.8.0
  • The Debug impl for new type wrappers now passes directly to the inner type. The full list of new type wrappers is BrokerId, GroupId, ProducerId, TopicName and TransactionalId. For example GroupId was previously GroupId("some group") but is now "some group".
  • ApiKey is now non_exhaustive.
  • Added gzip, zstd, snappy and lz4 features to enable the different compression algorithms for records (All enabled by default)

v0.12.0

  • Add client feature to enable encoding of requests and decoding of responses (enabled by default)
  • Add broker feature to enable encoding of responses and decoding of requests (enabled by default)
  • Add messages_enums feature to enable ResponseKind and RequestKind enums
  • Add encode, decode and header_version methods to ResponseKind and RequestKind

v0.11.0

  • Replace derive_builder with custom impl.
  • Remove EncodeError/DecodeError aliases
  • Remove panic from RecordBatchEncoder::encode
  • Use IntoIterator instead of Iterator for RecordBatchEncoder::encode
  • Use CRC-32 ISO/HDLC instead of CRC-32 CKSUM.
  • Add Display and more From<T> implementations for StrBytes.
  • Avoid redundant variant names in RequestKind/ResponseKind.
Commits

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 show <dependency name> 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)

@dependabot dependabot bot requested a review from a team as a code owner October 15, 2024 22:44
@dependabot dependabot bot force-pushed the dependabot/cargo/kafka-protocol-0.13.0 branch 9 times, most recently from c1f17c2 to aa36b30 Compare October 23, 2024 15:50
@dependabot dependabot bot force-pushed the dependabot/cargo/kafka-protocol-0.13.0 branch 8 times, most recently from fdccc7d to 41e679e Compare October 29, 2024 19:24
@dependabot dependabot bot force-pushed the dependabot/cargo/kafka-protocol-0.13.0 branch 2 times, most recently from ee1f01f to efbe6f1 Compare November 5, 2024 09:36
@dependabot dependabot bot force-pushed the dependabot/cargo/kafka-protocol-0.13.0 branch 7 times, most recently from 3af5e61 to 26b10c2 Compare November 12, 2024 23:13
@dependabot dependabot bot force-pushed the dependabot/cargo/kafka-protocol-0.13.0 branch from 26b10c2 to 18d6f57 Compare November 14, 2024 18:01
Bumps [kafka-protocol](https://github.com/tychedelia/kafka-protocol-rs) from 0.10.2 to 0.13.0.
- [Release notes](https://github.com/tychedelia/kafka-protocol-rs/releases)
- [Changelog](https://github.com/tychedelia/kafka-protocol-rs/blob/main/CHANGELOG.md)
- [Commits](tychedelia/kafka-protocol-rs@0.10.2...0.13.0)

---
updated-dependencies:
- dependency-name: kafka-protocol
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/kafka-protocol-0.13.0 branch from 18d6f57 to 05f425b Compare November 14, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants