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] = MISSING#

The Avro schema as a Python dict.

schema_id: int = MISSING#

The ID of the schema in the schema registry.

subject: str = MISSING#

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