Skip to main content

Pure HTTP client to manage schemas in Schema Registry

Project description

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

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.

from kafka_schema_registry_admin import SchemaRegistry

registry = SchemaRegistry("http://localhost:8081")
subjects = registry.get_all_subjects().json()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kafka_schema_registry_admin-0.5.2.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

kafka_schema_registry_admin-0.5.2-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page