SchemaInfo#

class safir.kafka.SchemaInfo(schema, schema_id, subject)#

Bases: object

Schema and registry metadata.

Parameters:

Attributes Summary

schema

The Avro schema as a Python dict.

schema_id

The ID of the schema in the schema registry.

subject

The subject that the schema is registered under in the registry.

Attributes Documentation

schema: dict[str, Any] = <dataclasses._MISSING_TYPE object>#

The Avro schema as a Python dict.

schema_id: int = <dataclasses._MISSING_TYPE object>#

The ID of the schema in the schema registry.

subject: str = <dataclasses._MISSING_TYPE object>#

The subject that the schema is registered under in the registry.