Kafkit API reference¶
kafkit.registry Package¶
Classes¶
|
An Avro message deserializer that understands the Confluent Wire Format and obtains schemas on-demand from a Confluent Schema Registry. |
|
An Avro message serializer that can write messages for multiple schemas in the Confluent Wire Format. |
|
An exception if the request is invalid (4XX errors). |
|
An excpetion if the server is down (5XX errors). |
Base exception for Registry errors. |
|
|
A base exception that includes metadata about the HTTP response. |
|
An exception for 3XX responses. |
|
An Avro message serializer that writes in the Confluent Wire Format. |
kafkit.registry.aiohttp Module¶
Classes¶
|
A Confluent Schema Registry client that uses aiohttp. |
kafkit.registry.sansio Module¶
Functions¶
Make HTTP headers for the Confluent Schema Registry. |
|
|
Process a response. |
|
Decode an HTTP body based on the specified content type. |
Classes¶
|
A baseclass for Confluent Schema Registry clients. |
|
A mock implementation of the RegistryApi client that doensn’t do network operations and provides attributes for introspection. |
A cache of schemas that maintains a mapping of schemas and their IDs in a Schema Registry. |
|
|
A cache of subjects in a schema registry that maps subject and version tuples to an actual schema. |