kafka-schema-registry
Kafka and schema registry integration
Decision gist · record as of 2026-08-14
Yes, if you are actively using Kafka with Confluent Schema Registry and want to reduce boilerplate around topic and schema setup. The low install friction and permissive license make it a reasonable choice for new projects. However, be aware that the package has not been updated since mid-2022; if you depend on recent Kafka or Schema Registry features, or if you need active maintenance support, consider evaluating whether kafka-python alone plus direct Schema Registry API calls would be more sustainable for your use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Kafka broker and Confluent Schema Registry instance accessible at the provided URLs.
- Low friction installation with three lightweight runtime dependencies (fastavro, kafka-python, requests).
- Maintenance status is aging—last release was 2022-07-13 and the repository has not been updated since then, though it remains unarchived.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
last release 2022-07-13 (1493 days) · last repo commit 2025-12-16 · 10 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 186,685 downloads/mo, #9,978 on PyPI
Alternatives
Verify before relying
from kafka_schema_registry import prepare_producer
SAMPLE_SCHEMA = {
"type": "record",
"name": "TestType",
"fields": [{"name": "age", "type": "int"}]
}
producer = prepare_producer(
['localhost:9092'],
'http://schemaregistry',
'my_topic',
1,
1,
value_schema=SAMPLE_SCHEMA
)
producer.send('my_topic', {'age': 34})- Whether the package supports the latest Confluent Schema Registry API versions and Kafka protocol versions.
- Active maintenance status and likelihood of updates for compatibility with newer kafka-python releases.
What it is and what it does
kafka-schema-registry wraps kafka-python to automate the workflow of creating Kafka topics, registering or updating schemas in Confluent Schema Registry, and serializing messages using Avro. It takes three main dependencies—fastavro for Avro serialization, kafka-python for the underlying Kafka client, and requests for Schema Registry HTTP calls—and combines them into a single prepare_producer() call that handles schema management and message publishing together.
The package is designed for teams using Kafka with schema governance who want to avoid manually coordinating topic creation, schema registration, and message serialization. It requires Python 3.7 or later and is permissively licensed under MIT. The codebase has been stable since mid-2022 but is no longer actively maintained, so compatibility with very recent Kafka or Schema Registry versions is not guaranteed.
Use it for
- Set up a Kafka producer that automatically registers an Avro schema on first use and validates outgoing messages against it.
- Migrate existing Kafka workflows to schema-driven publishing without rewriting producer initialization logic.
- Prototype or test Kafka + Schema Registry integration in development environments with minimal boilerplate.
- Publish structured event data to Kafka topics where schema evolution and validation are required.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively using Kafka with Confluent Schema Registry and want to reduce boilerplate around topic and schema setup.
The low install friction and permissive license make it a reasonable choice for new projects. However, be aware that the package has not been updated since mid-2022; if you depend on recent Kafka or Schema Registry features, or if you need active maintenance support, consider evaluating whether kafka-python alone plus direct Schema Registry API calls would be more sustainable for your use case.
Install
kafka-schema-registry on PyPI
Before you install
Low friction installation with three lightweight runtime dependencies (fastavro, kafka-python, requests). Maintenance status is aging—last release was 2022-07-13 and the repository has not been updated since then, though it remains unarchived.
Requires a running Kafka broker and Confluent Schema Registry instance accessible at the provided URLs.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
from kafka_schema_registry import prepare_producer
SAMPLE_SCHEMA = {
"type": "record",
"name": "TestType",
"fields": [{"name": "age", "type": "int"}]
}
producer = prepare_producer(
['localhost:9092'],
'http://schemaregistry',
'my_topic',
1,
1,
value_schema=SAMPLE_SCHEMA
)
producer.send('my_topic', {'age': 34})
Verify before relying
- Whether the package supports the latest Confluent Schema Registry API versions and Kafka protocol versions.
- Active maintenance status and likelihood of updates for compatibility with newer kafka-python releases.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesfastavrokafka-pythonrequests |
| Maintenance | Aging 1,493 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 186,685 / month, #9,978 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: kafka_schema_registry-0.1.2-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 › “kafka schema registry integration”
- kafka-schema-registryIntegrates Kafka with Confluent Schema Registry to manage topic…
- confluent_avroSerializes and deserializes Avro data according to the Confluent wire…
- sentry-kafka-schemasProvides Kafka topic definitions and JSON schema validators for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also confluent_avro · aws-glue-schema-registry · sentry-kafka-schemas · confluent-kafka · python-schema-registry-client · kafka · opentelemetry-instrumentation-confluent-kafka · pulumi-confluentcloud · aiokafka · kafka-python