library · inferred from evidence
confluent-kafka
A Python library for Apache Kafka integration that can be installed via pip.
- Fix confluent-kafka consume(timeout=1) taking longer than timeout
How to fix: Fix confluent-kafka consume(timeout=1) taking longer than timeout. I expected `consume(100, timeout=1)` to return within a second; it took five. The maintainer explained the timeout resets on every fetch iteration, so it is an i
- Fix confluent-kafka build error: librdkafka/rdkafka.h file not found
My `pip install confluent-kafka` died compiling because the C headers for librdkafka were missing. Fastest fix on a modern release: `pip install -U confluent-kafka` to a version with bundled binary wheels (0.11.4+), which never compiles any
- confluent-kafka install fails on Apple M1: just use 1.9.2 or newer
On Apple M1, pip install confluent-kafka failed with no arm64 wheels and a source build that could not find brew librdkafka headers. macOS arm64 wheels shipped in v1.9.2, so upgrade and skip the build dance.