MockRegistryApi#
- class kafkit.registry.sansio.MockRegistryApi(url='http://registry:8081', status_code=200, headers=None, body=b'')#
Bases:
RegistryApi
A mock implementation of the RegistryApi client that doensn’t do network operations and provides attributes for introspection.
- Parameters:
Attributes Summary
Attributes Documentation
- DEFAULT_HEADERS = {'content-type': 'application/vnd.schemaregistry.v1+json'}#