Documentation
- Public API in C header and C++ header.
- Introduction and manual in INTRODUCTION.md.
- Configuration properties in CONFIGURATION.md.
- Statistics metrics in STATISTICS.md.
- Frequently asked questions.
- Step-by-step tutorial Getting Started with Apache Kafka and C/C++.
NOTE: The master
branch is actively developed, use latest release for production use.
Installing librdkafka using vcpkg
You can download and install librdkafka using the vcpkg dependency manager:
# Install vcpkg if not already installed
$ git clone https://github.com/Microsoft/vcpkg.git
$ cd vcpkg
$ ./bootstrap-vcpkg.sh
$ ./vcpkg integrate install
# Install librdkafka
$ vcpkg install librdkafka
The librdkafka package in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.
Build from source
Language bindings
- C#/.NET: confluent-kafka-dotnet (based on rdkafka-dotnet)
- C++: cppkafka
- C++: modern-cpp-kafka
- Common Lisp: cl-rdkafka
- D (C-like): librdkafka
- D (C++-like): librdkafkad
- Erlang: erlkaf
- Go: confluent-kafka-go
- Haskell (kafka, conduit, avro, schema registry): hw-kafka
- Kotlin Native: Kafka-Kotlin-Native
- Lua: luardkafka
- Node.js: node-rdkafka
- OCaml: ocaml-kafka
- Perl: Net::Kafka
- PHP: php-rdkafka
- PHP: php-simple-kafka-client
- Python: confluent-kafka-python
- Python: PyKafka
- Ruby: Hermann
- Ruby: rdkafka-ruby
- Rust: rust-rdkafka
- Tcl: KafkaTcl
- Shell: kafkacat - Apache Kafka command line tool
- Swift: Perfect-Kafka
See Powered by librdkafka for an incomplete list of librdkafka users.