$ rdkafka

v0.39.0MAJOR UPDATE

Rust wrapper for librdkafka

Downloads: 21.7M
Recent: 2.5M
Versions: 52
Updated: January 25, 2026

Latest Update Summary

Crate

Name: rdkafka New version: 0.39.0 Release date: 2026-01-25T16:24:28.737074Z

Crate readme

Short description A fully asynchronous, futures-enabled Apache Kafka client library for Rust based on librdkafka.

Long description rust-rdkafka provides a safe Rust interface to librdkafka, compatible with librdkafka v1.9.2+. It supports all Kafka versions since 0.8.x, enabling single or multiple topic consumption, synchronous and asynchronous message production, and customizable offset commits. The library features exactly-once semantics through idempotent and transactional producers, and it can be integrated with Tokio for asynchronous processing.

Features • Support for all Kafka versions since 0.8.x • Consume from single or multiple topics • Automatic consumer rebalancing • Synchronous or asynchronous message production • Exactly-once semantics (EOS) via idempotent and transactional producers

Code Examples Add to Cargo.toml

 [dependencies]
rdkafka = { version = "0.25", features = ["cmake-build"] }

Dynamic linking example

 [dependencies]
rdkafka = { version = "0.25", features = ["dynamic-linking"] }

Disable default features

 [dependencies]
rdkafka = { version = "0.25", default-features = false }

Linkshttps://crates.io/crates/rdkafkahttps://docs.rs/rdkafka/https://github.com/fede1024/rust-rdkafka/blob/master/changelog.mdhttps://fede1024.github.io/rust-rdkafka/

Release info

Release version: N/A

Release description N/A

Code Examples N/A

Minor update: 0.38.0 → 0.39.0

$ DOWNLOADS TREND

18.7M21.7M

$ VERSION HISTORY

v0.39.0January 25, 2026
v0.38.0July 5, 2025

$ LINKS

$ INSTALL

cargo add rdkafka

Or add to Cargo.toml: rdkafka = "0.39.0"