https://github.com/compose-x/kafka-schema-registry-admin
Light python client to manipulate Kafka Schema Registry
https://github.com/compose-x/kafka-schema-registry-admin
kafka kafka-schema-registry schema-registry-client
Last synced: 9 months ago
JSON representation
Light python client to manipulate Kafka Schema Registry
- Host: GitHub
- URL: https://github.com/compose-x/kafka-schema-registry-admin
- Owner: compose-x
- License: apache-2.0
- Created: 2021-04-15T19:28:26.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T09:34:28.000Z (over 1 year ago)
- Last Synced: 2025-09-02T04:57:41.858Z (9 months ago)
- Topics: kafka, kafka-schema-registry, schema-registry-client
- Language: Python
- Homepage:
- Size: 425 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
===========================
Kafka schema registry admin
===========================
Simple / light HTTP client library (using requests) to manipulate schemas and definitions into Schema Registry.
* Confluent API specification is documented `here `__
* RedPanda API specification is documented `here `__
.. warning::
RedPanda SR does not have 100% compatibility with Confluent's.
Confluent Cloud specific endpoints not implemented (and no plans to be).
Usage
======
Very simple example to manipulate the schema registry and its resources.
Every function returns the ``requests.Response`` object to allow you to implement any kind of logic from there,
instead of trying to implement it for you.
Non 2xx HTTP codes raise exceptions which are in the ``kafka_schema_registry_admin.client_wrapper.errors``
More specific exceptions will be created in due course to identify exact exceptions.
.. code-block::
from kafka_schema_registry_admin import SchemaRegistry
registry = SchemaRegistry("http://localhost:8081")
subjects = registry.get_all_subjects().json()