Skip to content

Bump rdkafka from 0.39.0 to 0.40.0 - #120

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rdkafka-0.40.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rdkafka-0.40.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps rdkafka from 0.39.0 to 0.40.0.

Release notes

Sourced from rdkafka's releases.

v0.40.0

What's Changed

  • Add Client::sasl_set_credentials for live SASL PLAIN/SCRAM credential rotation (#852).
  • Round a partial millisecond of a timeout up, not down, when passing it to librdkafka, eliminating a busy-loop through the last millisecond of BaseProducer::poll and BaseConsumer::poll (~1% idle CPU per ThreadedProducer / FutureProducer) (#867).
  • Fix producers calling ClientContext::error twice per error event (#861).
  • Implement fmt::Debug for BaseConsumer and BaseProducer, and migrate the integration test suite to TestContainers (#798).
  • Clarify +1 offset semantics in Consumer::store_offset* docs (#851).
  • Bump rdkafka-sys to 4.11.0+2.16.0:
    • Bump bundled librdkafka from 2.12.1 to 2.16.0 (#865), adding 18 new RDKafkaErrorCode variants and resolving the unconditional <curl/curl.h> dependency (#829).
    • Build only the static C library (librdkafka.a) in mklove builds, reducing OUT_DIR size and avoiding symlinks (#862).

Full Changelog: fede1024/rust-rdkafka@v0.39.0...v0.40.0

Changelog

Sourced from rdkafka's changelog.

0.40.0 (2026-11-21)

  • Add Client::sasl_set_credentials for live SASL PLAIN/SCRAM credential rotation (#852).
  • Round a partial millisecond of a timeout up, not down, when passing it to librdkafka. A remainder below 1 ms became 0 ms, so BaseProducer::poll and BaseConsumer::poll busy-looped through the last millisecond of every call. An idle ThreadedProducer or FutureProducer cost about 1% of a CPU core (#867).
  • Fix producers calling ClientContext::error twice per error event (#861).
  • Implement fmt::Debug for BaseConsumer and BaseProducer, and migrate the integration test suite to TestContainers (#798).
  • Clarify +1 offset semantics in Consumer::store_offset* docs (#851).
  • Bump rdkafka-sys to 4.11.0+2.16.0 (updating bundled librdkafka to 2.16.0).

#798: fede1024/rust-rdkafka#798 #851: fede1024/rust-rdkafka#851 #852: fede1024/rust-rdkafka#852 #861: fede1024/rust-rdkafka#861 #867: fede1024/rust-rdkafka#867

Commits
  • 0dda397 Release 0.40.0 (#871)
  • 4f7f4d7 Release rdkafka-sys v4.11.0+2.16.0 (#870)
  • a3394cf docs: clarify +1 offset semantics for store_offset (#851)
  • 53cebc5 Fix producers calling ClientContext::error twice per error event (#861)
  • 9efcbf0 rdkafka-sys: build only the static C library (#862)
  • 317f2cd rdkafka-sys: bump librdkafka to 2.16.0 (#865)
  • 29ec065 fix: round partial milliseconds of a timeout up, not down (#867)
  • 4566e56 lint: Fix lint from PR#852 (#866)
  • 73f5977 feat: add safe wrapper for rd_kafka_sasl_set_credentials (#852)
  • 3f54ff1 test: converting test suite to TestContainers (#798)
  • 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 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)

Bumps [rdkafka](https://github.com/fede1024/rust-rdkafka) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/fede1024/rust-rdkafka/releases)
- [Changelog](https://github.com/fede1024/rust-rdkafka/blob/master/changelog.md)
- [Commits](fede1024/rust-rdkafka@v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: rdkafka
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Dec 1, 2026

This branch has not been deployed

No deployments
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