kafka-connect-py
A client for the Confluent Platform Kafka Connect REST API.
What it is and what it does
kafka-connect-py is a Python client and command-line tool for interacting with Apache Kafka Connect clusters through their REST API. It wraps the Confluent Platform Kafka Connect REST interface, allowing you to manage connectors—create, update, delete, pause, resume, and inspect their status and configuration—without writing raw HTTP requests. The tool is primarily used as a CLI (invoked as `kc`) but also exposes a Python library for programmatic access.
The package depends on requests for HTTP communication and click for command-line argument parsing. It supports modern Python versions from 3.8 through 3.14 and is licensed under MIT. The repository remains active and not archived, though maintenance is aging with the last commit on 2026-01-06.
Use it for:
- Automate connector provisioning and configuration management in CI/CD pipelines for data integration workflows.
- Inspect and troubleshoot failing connectors by querying task status and connector state from the command line.
- Batch manage multiple connectors using filtering by name pattern and state (running, paused, failed, unassigned).
- Integrate Kafka Connect operations into Python scripts or orchestration tools that need programmatic cluster control.
- Monitor connector health and restart failed tasks without manual REST API calls.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A command-line tool and Python client for managing Apache Kafka Connect clusters and connectors via the Kafka Connect REST API, supporting connector creation, configuration, status inspection, and lifecycle operations.
Yes, if you manage Kafka Connect clusters and prefer a CLI or Python library over raw REST calls. The low install friction, permissive MIT license, and broad Python version support make it accessible. However, the aging maintenance status warrants caution for production use—verify that the package still covers your Kafka Connect version's API surface and consider monitoring the repository for security updates or feature gaps.
Install
kafka-connect-py on PyPI
pip
pip install kafka-connect-pyuv
uv add kafka-connect-pypoetry
poetry add kafka-connect-pyInstalling kafka-connect-py
Before you install
Low install friction with only two runtime dependencies (requests and click). Maintenance status is aging—last commit was 2026-01-06 and the package has not been updated for 220 days, though the repository remains active and not archived.
License in practice
MIT license is permissive, allowing use in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install kafka-connect-py
kc info
kc list-plugins
kc update connector-name -d '{"connector.class": "..."}'
kc status connector-name
Requires a running Kafka Connect cluster accessible via REST API; connection details must be configured (typically via environment variables or CLI flags not shown in the excerpt).
Verify before relying
- How connection details (host, port, credentials) are configured for the CLI tool and Python API
- Whether the package supports all features of the Kafka Connect REST API as claimed, or if some remain incomplete
- Python API usage patterns beyond the command-line examples provided in the description
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, click |
| Maintenance | aging — 220 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 212,396/month — #9,458 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: kafka_connect_py-1.0.0-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
confluent-kafkaProvides a high-performance Python client for…
permissive · top 1,000 on PyPI
aiokafkaaiokafka is an asyncio-based client library for…
permissive · top 5,000 on PyPI
pulumi-confluentcloudPulumi provider for declaring and managing…
permissive · top 15,000 on PyPI
tinybirdCommand-line interface for managing Tinybird…
unclear · top 15,000 on PyPI
kafkaA pure-Python client library for Apache Kafka…
permissive · top 15,000 on PyPI
PIconnectPIconnect provides Python access to OSIsoft PI…
permissive · top 15,000 on PyPI
google-cloud-managedkafkaPython client library for Google Cloud's…
permissive · top 5,000 on PyPI
kafka-pythonPure-Python Apache Kafka client library…
permissive · top 1,000 on PyPI
kafka-schema-registryIntegrates Kafka with Confluent Schema Registry…
permissive · top 15,000 on PyPI
port-oceanPort Ocean is a CLI framework and runtime for…
permissive · top 15,000 on PyPI