librdkafka
The Apache Kafka C/C++ client library
librdkafka documentation

librdkafka is the Apache Kafka C/C++ client library.

Introduction

For an introduction and manual to librdkafka see Introduction to librdkafka - the Apache Kafka C/C++ client library

Configuration

librdkafka is highly configurable to meet any deployment demands. It is usually safe to leave most configuration properties to their default values.

See Configuration properties for the full list of supported configuration properties.

Remarks
Application developers are recommended to provide a non-hardcoded interface to librdkafka's string based name-value configuration property interface, allowing users to configure any librdkafka property directly without alterations to the application. This allows for seamless upgrades where linking to a new version of librdkafka automatically provides new configuration based features.

Statistics

librdkafka provides detailed metrics through its statistics interface.

See Statistics and rd_kafka_conf_set_stats_cb.

C API

The C API is documented in rdkafka.h

C++ API

The C++ API is documented in rdkafkacpp.h