librdkafka
brew install librdkafka
v2.14.2
BSD-2-Clause
Apache Kafka C/C++ client library for high-performance producers and consumers.
Why you might care
Essential shared library for C/C++ applications that need to integrate with Kafka message brokers. Delivers over 1M msgs/sec for producers and 3M msgs/sec for consumers with full exactly-once semantics, SSL/SASL auth, and multiple compression formats. Used as a runtime dependency by Kafka client bindings in Python, Node.js, Ruby, and other languages.
2.2k
30-day installs · #923
7.4k
90-day · #930
31.9k
365-day · #862
993
★ GitHub stars · updated 2mo ago
Runtime dependencies
Build dependencies
GitHub topics
apache-kafka
c
c-plus-plus
consumer
high-performance
kafka
kafka-consumer
kafka-producer
librdkafka
Links
- https://github.com/confluentinc/librdkafka
- GitHub: confluentinc/librdkafka
- Brew formula source: Formula/lib/librdkafka.rb
Blurb generated by claude-haiku-4-5 on 2mo ago.
Raw metadata
{
"aliases": [],
"alternatives": [
"rdkafka-python",
"nodejs-kafka",
"confluent-kafka-go"
],
"build_dependencies": [
"pkgconf"
],
"categories": [
"library",
"message-queue",
"networking"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"lz4",
"lzlib",
"openssl@3",
"zstd"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Apache Kafka C/C++ library",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:12+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "librdkafka",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-20T23:40:00Z",
"github_readme_excerpt": "librdkafka - the Apache Kafka\u00ae C/C++ client library\n===================================================\n\nCopyright (c) 2012-2022, [Magnus Edenhill](http://www.edenhill.se/).\n 2023 [Confluent Inc.](https://www.confluent.io/).\n\n[https://github.com/confluentinc/librdkafka](https://github.com/confluentinc/librdkafka)\n\n**librdkafka** is a C library implementation of the\n[Apache Kafka](https://kafka.apache.org/) protocol, providing Producer, Consumer\nand Admin clients. It was designed with message delivery reliability\nand high performance in mind, current figures exceed 1 million msgs/second for\nthe producer and 3 million msgs/second for the consumer.\n\n**librdkafka** is licensed under the 2-clause BSD license.\n\nKAFKA is a registered trademark of The Apache Software Foundation and\nhas been licensed for use by librdkafka. librdkafka has no\naffiliation with and is not endorsed by The Apache Software Foundation.\n\n\n# Features\n * Full Exactly-Once-Semantics (EOS) support\n * High-level producer, including Idempotent and Transactional producers\n * High-level balanced KafkaConsumer (requires broker \u003e= 0.9)\n * Simple (legacy) consumer\n * Admin client\n * Compression: snappy, gzip, lz4, zstd\n * [SSL](https://github.com/confluentinc/librdkafka/wiki/Using-SSL-with-librdkafka) support\n * [SASL](https://github.com/confluentinc/librdkafka/wiki/Using-SASL-with-librdkafka) (GSSAPI/Kerberos/SSPI, PLAIN, SCRAM, OAUTHBEARER) support\n * Full list of [supported KIPs](INTRODUCTION.md#supported-kips)\n * Broker version support: \u003e=0.8 (see [Broker version compatibility](INTRODUCTION.md#broker-version-compatibility))\n * Guaranteed API stability for C \u0026 C++ APIs (ABI safety guaranteed for C)\n * [Statistics](STATISTICS.md) metrics\n * Debian package: librdkafka1 and librdkafka-dev in Debian and Ubuntu\n * RPM package: librdkafka and librdkafka-devel\n * Gentoo package: dev-libs/librdkafka\n * Portable: runs on Linux, MacOS X, Windows, Solaris, FreeBSD, AIX, ...\n\n# Documentation",
"github_repo": "confluentinc/librdkafka",
"github_stars": 993,
"github_topics": [
"apache-kafka",
"c",
"c-plus-plus",
"consumer",
"high-performance",
"kafka",
"kafka-consumer",
"kafka-producer",
"librdkafka"
],
"homepage": "https://github.com/confluentinc/librdkafka",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 2232,
"installs_365d": 31931,
"installs_90d": 7356,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSD-2-Clause",
"llm_generated_at": "2026-06-20T23:47:53+00:00",
"llm_model": "claude-haiku-4-5",
"name": "librdkafka",
"oldnames": [],
"one_liner": "Apache Kafka C/C++ client library for high-performance producers and consumers.",
"optional_dependencies": [],
"rank_30d": 923,
"rank_365d": 862,
"rank_90d": 930,
"raw_hash": "61f53c7c97bf6ac6",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/lib/librdkafka.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
{
"python": "build"
},
"curl",
"cyrus-sasl"
],
"version_head": "HEAD",
"version_stable": "2.14.2",
"versioned_formulae": [],
"why_use_this": "Essential shared library for C/C++ applications that need to integrate with Kafka message brokers. Delivers over 1M msgs/sec for producers and 3M msgs/sec for consumers with full exactly-once semantics, SSL/SASL auth, and multiple compression formats. Used as a runtime dependency by Kafka client bindings in Python, Node.js, Ruby, and other languages."
}