skillfed

google-cloud-managedkafka

Google Cloud Managedkafka API client library

google-cloud-managedkafka v0.4.1 13.9M downloads/30d#1,262 on PyPI5,373
Permissive license Apache-2.0 Active released

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

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

google-cloud-managedkafka on PyPI

pip

pip install google-cloud-managedkafka

uv

uv add google-cloud-managedkafka

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 5 — google-api-core, google-auth, grpcio, proto-plus, protobuf
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)

Evidence: google_cloud_managedkafka-0.4.1-py3-none-any.whl

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

Tags

google cloud kafka clientmanaged kafka python apiapache kafka gcp managementcloud kafka cluster controlgoogle managed kafka sdk
google-cloudkafka-managementinfrastructure-automation

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

google-cloud-dataflow-client

Provides a Python client library to manage…

permissive · top 1,000 on PyPI

google-cloud-monitoring

Python client library for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-resource-manager

Provides a Python client for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-functions

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-monitoring-dashboards

Python client library for Google Cloud…

permissive · top 15,000 on PyPI

google-cloud-billing

Programmatic access to Google Cloud Platform…

permissive · top 15,000 on PyPI

google-cloud-tasks

Python client library for Google Cloud Tasks,…

permissive · top 1,000 on PyPI

kafka-connect-py

A command-line tool and Python client for…

permissive · top 15,000 on PyPI

google-cloud-storage

Python client library for Google Cloud Storage…

permissive · top 1,000 on PyPI

matrice-common

matrice_common provides authentication, RPC…

permissive · top 5,000 on PyPI