Skip to content

deps: update kafka-protocol requirement from 0.10 to 0.17 - #11

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/kafka-protocol-0.17
Open

deps: update kafka-protocol requirement from 0.10 to 0.17#11
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/kafka-protocol-0.17

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 23, 2026

Copy link
Copy Markdown

Updates the requirements on kafka-protocol to permit the latest version.

Changelog

Sourced from kafka-protocol's changelog.

0.17.0

  • Breaking change:
    • change snappy compression to:
      • encode using the upstream java algorithm
      • and decode by autodetecting the upstream java algorithm or true snappy algorithm (previous kafka-protocol-rs encoding implementation)
    • This change makes it possible to decompress bytes compressed by the upstream java
  • Fix ApiKey::iter which would terminate early in 0.16.0

0.16.0

  • Added support for kafka 4.0
    • deprecated message types were removed in kafka 4.0 and those types have also been removed from this crate.
    • removed support for message sets v0 and v1

0.15.1

  • Ensure bytes dependency is at least 0.10.1

0.15.0

  • Records::encode/Records::decode no longer has unneeded trait bounds.
  • ByteBuf::try_get_* methods that already exist on Buf are removed in favor of the Buf method

v0.14.0

  • Records::encode/Records::decode is now reverted back to their original API, instead encode_with_custom_compression and decode_with_custom_compression is provided for custom compression.
  • ApiKey variants are renamed to remove the Key suffix.
  • Add iterate_all and valid_versions methods to ApiKey
  • Implement PartialEq and Display for VersionRange

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

... (truncated)

Commits

You can trigger a rebase of this PR 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 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [kafka-protocol](https://github.com/tychedelia/kafka-protocol-rs) to permit the latest version.
- [Release notes](https://github.com/tychedelia/kafka-protocol-rs/releases)
- [Changelog](https://github.com/tychedelia/kafka-protocol-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tychedelia/kafka-protocol-rs/commits)

---
updated-dependencies:
- dependency-name: kafka-protocol
  dependency-version: 0.17.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants