Skip to content
Pyrula
Pre-release: the packages are not on PyPI yet, so pip install does not resolve. Build from source to try it today.

Kafka

pyrula.kafka is a Kafka client written in Rust, with native asyncio and an Arrow path and no librdkafka. The API tracks confluent-kafka. Two things differ: every networked call is bounded by a timeout, and batch APIs (produce_many_*, poll_batch, poll_arrow) keep per-record work out of Python. Throughput numbers are on Benchmarks.

from pyrula import kafka

pip install "pyrula[kafka]". Wheels cover Linux (glibc and musl), macOS and Windows on x86_64 and ARM (aarch64 Linux needs glibc 2.28+). AWS MSK IAM auth is an extra: "pyrula[kafka,msk]".

View this page as Markdown