--- id: google-cloud-managedkafka version: "0.4.1" license: Apache-2.0 license_treatment: permissive maintenance: active --- # google-cloud-managedkafka — Google Cloud Managedkafka API client library License: permissive · Maintenance: active · Downloads: 13.9M/mo ## 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 above — verify before relying. Python client library for Google Cloud's Managed Service for Apache Kafka, enabling programmatic management of Kafka clusters and resources on Google Cloud Platform. 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 pip install google-cloud-managedkafka uv add google-cloud-managedkafka poetry add google-cloud-managedkafka ## Installing google-cloud-managedkafka 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. 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() Requires Python >= 3.10. Google Cloud authentication must be configured (via service account, Application Default Credentials, or environment variables) before client instantiation. 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_current - Install friction: low - Maintenance: active - Downloads: 13.9M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags google cloud kafka client, managed kafka python api, apache kafka gcp management, cloud kafka cluster control, google managed kafka sdk, google-cloud, kafka-management, infrastructure-automation [View on SkillFed](https://skillfed.io/packages/google-cloud-managedkafka) · [View on PyPI](https://pypi.org/project/google-cloud-managedkafka/)