google-cloud-managedkafka
Google Cloud Managedkafka API client library
Decision gist · record as of 2026-08-14
Yes, if you are building on Google Cloud and need to manage Managed Service for Apache Kafka clusters programmatically. The library is actively maintained, has no known vulnerabilities, low install friction, and is the official client for the service. Not relevant if you are using self-hosted Kafka or a different cloud provider's Kafka offering.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10.
- Google Cloud authentication must be configured (via service account, Application Default Credentials, or environment variables) before client instantiation.
- Low friction install with active maintenance.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and note significant changes.
last release 2026-06-22 (53 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,854,244 downloads/mo, #1,262 on PyPI
Alternatives
Verify before relying
pip install google-cloud-managedkafka
from google.cloud import managedkafka_v1
client = managedkafka_v1.ManagedKafkaClient()- Specific API methods and resource types supported beyond cluster and resource management
- Whether this library supports all Managed Service for Apache Kafka operations or a subset
- Performance characteristics and rate limits for typical cluster operations
What it is and what it does
This is Google's official Python client for Managed Service for Apache Kafka on Google Cloud Platform. It wraps the underlying gRPC API with Python-friendly abstractions, letting you create, configure, monitor, and delete Kafka clusters and topics programmatically rather than through the console or CLI.
The library depends on google-api-core, google-auth, grpcio, proto-plus, and protobuf to handle authentication, RPC transport, and protocol buffer serialization. It targets modern Python versions (3.10 and later) and is actively maintained as part of the googleapis/google-cloud-python monorepo. Authentication is required before use—you'll need a Google Cloud project with billing enabled and the Managed Service for Apache Kafka API enabled.
Use it for
- Automate Kafka cluster provisioning and teardown as part of infrastructure-as-code workflows
- Build monitoring dashboards that query cluster status and metrics via the API
- Manage topic configurations, partitions, and consumer groups programmatically in production
- Integrate Kafka cluster lifecycle management into CI/CD pipelines
- Develop multi-tenant applications that create isolated Kafka clusters on demand
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on Google Cloud and need to manage Managed Service for Apache Kafka clusters programmatically.
The library is actively maintained, has no known vulnerabilities, low install friction, and is the official client for the service. Not relevant if you are using self-hosted Kafka or a different cloud provider's Kafka offering.
Install
google-cloud-managedkafka on PyPI
Before you install
Low friction install with active maintenance. Released 53 days ago with recent commits; depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf). Requires Python 3.10 or later.
Requires Python >= 3.10. Google Cloud authentication must be configured (via service account, Application Default Credentials, or environment variables) before client instantiation.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and note significant changes.
Quickstart
pip install google-cloud-managedkafka
from google.cloud import managedkafka_v1
client = managedkafka_v1.ManagedKafkaClient()
Verify before relying
- Specific API methods and resource types supported beyond cluster and resource management
- Whether this library supports all Managed Service for Apache Kafka operations or a subset
- Performance characteristics and rate limits for typical cluster operations
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesgoogle-api-coregoogle-authgrpcioproto-plusprotobuf |
| Maintenance | Actively maintained 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,854,244 / month, #1,262 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 :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: google_cloud_managedkafka-0.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 › “google cloud kafka client”
- google-cloud-managedkafkaPython client library for Google Cloud's Managed Service for Apache…
- confluent-kafkaProvides a high-performance Python client for Apache Kafka that wraps…
- orion-py-clientA Python client for pushing ML feature data from offline sources to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-dataflow-client · google-cloud-monitoring · google-cloud-resource-manager · google-cloud-functions · google-cloud-monitoring-dashboards · google-cloud-billing · google-cloud-tasks · kafka-connect-py · google-cloud-storage · matrice-common