library · inferred from evidence
librdkafka
A C library for Apache Kafka, often used as a dependency for confluent-kafka.
- Fix confluent-kafka consume(timeout=1) taking longer than timeout
Calling `consumer.consume(num_messages=100, timeout=1)` on confluent-kafka-python blocked far longer than the requested timeout. Per the librdkafka authors, the timeout is an idle timeout per fetch iteration: each batch of fetched messages
- Fix confluent-kafka build error: librdkafka/rdkafka.h file not found
Installing confluent-kafka from source failed with `fatal error: 'librdkafka/rdkafka.h' file not found` because the build needs the librdkafka C library headers first. Two options: install librdkafka before pip (`brew install librdkafka` on
- Fix confluent-kafka install failures on Apple M1
On Apple M1 hosts, `pip install confluent-kafka` failed because there were no arm64 wheels and the source build could not find the brew-installed librdkafka headers. The historical workaround was `brew install librdkafka` plus `export C_INC