DBDelve
Dive deep into your data. A fast, native, multi-engine database client written in Rust. Free and open source, no telemetry.
翻訳待ち
Confluent's Kafka Python Client
翻訳待ち
開発ツールPython · ShellGitHub @confluentinc自分でインストール所有者未確認
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗[!WARNING] 4.x is coming. 4.x will be a breaking change once released for production (GA). We recommend upgrading to 4.x when you can. If you aren't ready to move yet, pin to 2.x, or you will upgrade to it automatically. Use
confluent-kafka~=2.16orconfluent-kafka>=2.16,<3. See the preview note below and Python packaging: versioning.
[!NOTE] Preview: confluent-kafka 4.4
A next-generation Python client is available in preview as
confluent-kafka4.4.0b1. It is built on a native Rust core and mirrors the Apache Kafka Java client API.
- Not for production yet. The API may change before GA.
- New API. 4.x is not compatible with 2.x code.
- Opt-in.
pip install confluent-kafkastill installs 2.x. To try the preview:pip install confluent-kafka==4.4.0b1.- Why 4.4? Versions now track Apache Kafka (4.4 = Apache Kafka 4.4), so there is no 3.x. See the versioning RFC.
- Why a new repository? The Rust core and every language binding live in one monorepo, confluentinc/kafka-clients, so one change can ship across all languages. Python development for 4.x happens there. See the repository structure RFC.
Read the Python API RFC and share feedback in confluentinc/kafka-clients.
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.
Unlike the basic Apache Kafka Python client, confluent-kafka-python provides:
librdkafka (C library) for maximum throughput and minimal latency, significantly outperforming pure Python implementations.Performance Note: The Apache Kafka Python client (kafka-python) is a pure Python implementation that, while functional, has significant performance limitations for high-throughput production use cases. confluent-kafka-python leverages the same high-performance C library (librdkafka) used by Confluent's other clients, providing enterprise-grade performance and reliability.
librdkafka, the battle-tested C client for Apache Kafka, ensuring maximum throughput, low latency, and stability. The client is supported by Confluent and is trusted in mission-critical production environments.ShareConsumer (KIP-932) for queue-like, cooperative consumption with per-record acknowledgement. See the Share Consumer guide. Preview — not recommended for production.AIOProducer) for seamless integration with modern Python applications using asyncio.For a step-by-step guide on using the client, see Getting Started with Apache Kafka and Python.
This is the beginning of the README. Read the rest at the original. Read the full README ↗