types-confluent-kafka
Types for Confluent Kafka
Decision gist · record as of 2026-08-14
Yes, if you are using confluent-kafka below version 2.13.0 and want type checking and IDE support. No, if you are already on confluent-kafka 2.13.0 or later—use the official type hints instead. The package is actively maintained, has no runtime overhead, and carries a permissive license, making it a low-risk addition for teams that need it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Intended for confluent-kafka versions below 2.13.0; confluent-kafka 2.13.0+ includes official type hints.
- Low friction install with no runtime dependencies.
- Actively maintained with recent commits as of 2026-04-11, though intended primarily for confluent-kafka versions below 2.13.0.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2026-03-09 (158 days) · last repo commit 2026-04-11 · 27 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,742,194 downloads/mo, #3,601 on PyPI
Alternatives
Verify before relying
pip install types-confluent-kafka
# Type checking now works with your confluent-kafka code
# mypy will validate your usage patterns- Exact coverage of confluent-kafka API surface across different versions—compatibility table referenced but not detailed.
- Whether type hints remain accurate relative to confluent-kafka's evolution post-2.13.0.
- How to use this package in practice with confluent-kafka as a peer dependency.
What it is and what it does
types-confluent-kafka is a type-stub package that provides static type information for the confluent-kafka library. It allows developers using mypy or other type checkers to catch type errors at development time, and enables IDE language servers to provide accurate autocompletion and inline documentation. The package is community-maintained (not officially endorsed by Confluent) and designed for users on confluent-kafka versions prior to 2.13.0, when the library added its own built-in type hints. Since it contains only stub files and metadata, it has zero runtime dependencies and installs with minimal friction.
The package follows semantic versioning and is actively maintained with frequent releases to track API changes. It supports Python 3.9 through 3.14. Users on confluent-kafka 2.13.0 or later should use the official type hints instead.
Use it for
- Add type checking to a confluent-kafka application running on versions below 2.13.0.
- Enable IDE autocompletion and inline documentation for confluent-kafka APIs in mypy-enabled projects.
- Migrate a legacy codebase to static typing without upgrading the confluent-kafka dependency immediately.
- Catch configuration and API misuse errors at development time in Kafka client code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using confluent-kafka below version 2.13.0 and want type checking and IDE support.
No, if you are already on confluent-kafka 2.13.0 or later—use the official type hints instead. The package is actively maintained, has no runtime overhead, and carries a permissive license, making it a low-risk addition for teams that need it.
Install
types-confluent-kafka on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained with recent commits as of 2026-04-11, though intended primarily for confluent-kafka versions below 2.13.0.
Intended for confluent-kafka versions below 2.13.0; confluent-kafka 2.13.0+ includes official type hints.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install types-confluent-kafka
# Type checking now works with your confluent-kafka code
# mypy will validate your usage patterns
Verify before relying
- Exact coverage of confluent-kafka API surface across different versions—compatibility table referenced but not detailed.
- Whether type hints remain accurate relative to confluent-kafka's evolution post-2.13.0.
- How to use this package in practice with confluent-kafka as a peer dependency.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <3.15,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 158 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,742,194 / month, #3,601 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: types_confluent_kafka-1.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “confluent kafka type hints”
- types-confluent-kafkaProvides type hints and stub files for the confluent-kafka package to…
- confluent-kafka-stubsProvides type hints and stubs for the confluent-kafka package to…
- confluent_avroSerializes and deserializes Avro data according to the Confluent wire…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also confluent-kafka-stubs · mypy-boto3-kafka · mypy-boto3-kafkaconnect · types-PyMySQL · confluent-kafka · opentelemetry-instrumentation-confluent-kafka · pyspark-stubs · confluent_avro · types-docker · pulumi-confluentcloud