confluent-kafka
Confluent's Python client for Apache Kafka
Install
confluent-kafka on PyPI
pip
pip install confluent-kafkauv
uv add confluent-kafkapoetry
poetry add confluent-kafkaPackage facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 44 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: confluent_kafka-2.15.0-cp310-cp310-macosx_10_9_x86_64.whl; confluent_kafka-2.15.0-cp310-cp310-macosx_11_0_arm64.whl; confluent_kafka-2.15.0-cp310-cp310-manylinux_2_28_aarch64.whl; confluent_kafka-2.15.0-cp310-cp310-manylinux_2_28_x86_64.whl; confluent_kafka-2.15.0-cp310-cp310-win_amd64.whl; confluent_kafka-2.15.0-cp311-cp311-macosx_10_9_x86_64.whl; confluent_kafka-2.15.0-cp311-cp311-macosx_11_0_arm64.whl; confluent_kafka-2.15.0-cp311-cp311-manylinux_2_28_aarch64.whl; confluent_kafka-2.15.0-cp311-cp311-manylinux_2_28_x86_64.whl; confluent_kafka-2.15.0-cp311-cp311-win_amd64.whl; confluent_kafka-2.15.0-cp312-cp312-macosx_10_9_x86_64.whl; confluent_kafka-2.15.0-cp312-cp312-macosx_11_0_arm64.whl; confluent_kafka-2.15.0-cp312-cp312-manylinux_2_28_aarch64.whl; confluent_kafka-2.15.0-cp312-cp312-manylinux_2_28_x86_64.whl; confluent_kafka-2.15.0-cp312-cp312-win_amd64.whl; confluent_kafka-2.15.0-cp313-cp313-macosx_13_0_arm64.whl; confluent_kafka-2.15.0-cp313-cp313-macosx_13_0_x86_64.whl; confluent_kafka-2.15.0-cp313-cp313-manylinux_2_28_aarch64.whl; confluent_kafka-2.15.0-cp313-cp313-manylinux_2_28_x86_64.whl; confluent_kafka-2.15.0-cp313-cp313-win_amd64.whl
About confluent-kafka
from the package's own PyPI description — quoted content, verbatim
Confluent's Python Client for Apache Kafka®
Try Confluent Cloud - The Data Streaming Platform (image)
confluent-kafka-python provides a high-level Producer, Consumer and AdminClient compatible with all Apache Kafka brokers >= v0.8, Confluent Cloud and Confluent Platform.
Recommended for Production: While this client works with any Kafka deployment, it's optimized for and fully supported with Confluent Cloud (fully managed) and Confluent Platform (self-managed), which provide enterprise-grade security, monitoring, and support.
Why Choose Confluent's Python Client?
Unlike the basic Apache Kafka Python client, confluent-kafka-python provides:
- Production-Ready Performance: Built on
librdkafka...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
confluent-kafka provides a high-performance Python client for Apache Kafka built on librdkafka, offering Producer, Consumer, and AdminClient APIs with native asyncio support, schema registry integration, and enterprise features like transactions and exactly-once semantics.
Medium install friction due to compiled C bindings (librdkafka), but well-supported across Python 3.8–3.13 on macOS, Linux, and Windows with prebuilt wheels. Active maintenance (44 days since last release) and 500+ GitHub stars indicate solid production backing.
Licensed under Apache Software License (permissive), allowing use in commercial and open-source projects with minimal restrictions—typical for enterprise-backed infrastructure libraries.
Usage
pip install confluent-kafka
from confluent_kafka import Producer
p = Producer({'bootstrap.servers': 'mybroker'})
p.produce('mytopic', value=b'hello')
p.flush()
Requires a running Kafka broker; librdkafka C library is compiled into wheels, so no additional system dependencies needed on supported platforms.
Verdict: confluent-kafka is a production-grade, actively maintained Kafka client optimized for high throughput and low latency. No known vulnerabilities, permissive licensing, and broad Python 3.8+ support make it suitable for enterprise deployments. Medium install friction is offset by prebuilt wheels and strong maintenance signals.
Needs verification
- Whether typing-extensions is actually used at runtime or only for type hints during development
- Performance characteristics compared to pure-Python alternatives in specific throughput scenarios
- Enterprise support SLA details and availability outside Confluent Cloud deployments
Similar packages
permissive · top 1,000 on PyPI
PyGithubcopyleft · top 1,000 on PyPI
kombupermissive · top 1,000 on PyPI
delta-sparkpermissive · top 1,000 on PyPI
aws-lambda-powertoolspermissive · top 1,000 on PyPI
amqppermissive · top 1,000 on PyPI
groqpermissive · top 1,000 on PyPI
logfirepermissive · top 1,000 on PyPI
gunicornpermissive · top 1,000 on PyPI
asgirefpermissive · top 1,000 on PyPI