Registry / messaging / librdkafka

librdkafka

JSON →
library2.13.2vcpkgunverified

The Apache Kafka C/C++ library.

vcpkg install librdkafka
INSTALL
IMPORT
SIG · LIBRDKAFKA
L
librdkafka
messagingcppv2.13.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

librdkafka/rdkafka.h
#include <librdkafka/rdkafka.h>

Create a Kafka producer instance

#include "librdkafka/rdkafka.h" #include <string> int main() { char errstr[512]; rd_kafka_conf_t* conf = rd_kafka_conf_new(); rd_kafka_t* rk = rd_kafka_new(RD_KAFKA_PRODUCER, conf, errstr, sizeof(errstr)); rd_kafka_destroy(rk); return 0; }
Debug
Known issues
gotchalibrdkafka requires explicit configuration for SSL/SASL if needed.
fix
Set configuration properties like 'security.protocol' and 'sasl.mechanisms' via rd_kafka_conf_set().
affects: all
Upgrade
Version history
2.13.2latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources

No resource links recorded.

librdkafka — pip install librdkafka · libregistry