Skip to content

Refactor for async support #1971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 30, 2025
66 changes: 33 additions & 33 deletions src/confluent_kafka/schema_registry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,44 +18,44 @@
from typing import Optional

from .schema_registry_client import (
ConfigCompatibilityLevel,
Metadata,
MetadataProperties,
MetadataTags,
RegisteredSchema,
Rule,
RuleKind,
RuleMode,
RuleParams,
RuleSet,
Schema,
SchemaRegistryClient,
SchemaRegistryError,
SchemaReference,
ServerConfig
ConfigCompatibilityLevel,
Metadata,
MetadataProperties,
MetadataTags,
RegisteredSchema,
Rule,
RuleKind,
RuleMode,
RuleParams,
RuleSet,
Schema,
SchemaRegistryClient,
SchemaRegistryError,
SchemaReference,
ServerConfig
)

_MAGIC_BYTE = 0

__all__ = [
"ConfigCompatibilityLevel",
"Metadata",
"MetadataProperties",
"MetadataTags",
"RegisteredSchema",
"Rule",
"RuleKind",
"RuleMode",
"RuleParams",
"RuleSet",
"Schema",
"SchemaRegistryClient",
"SchemaRegistryError",
"SchemaReference",
"ServerConfig",
"topic_subject_name_strategy",
"topic_record_subject_name_strategy",
"record_subject_name_strategy"
"ConfigCompatibilityLevel",
"Metadata",
"MetadataProperties",
"MetadataTags",
"RegisteredSchema",
"Rule",
"RuleKind",
"RuleMode",
"RuleParams",
"RuleSet",
"Schema",
"SchemaRegistryClient",
"SchemaRegistryError",
"SchemaReference",
"ServerConfig",
"topic_subject_name_strategy",
"topic_record_subject_name_strategy",
"record_subject_name_strategy"
]


Expand Down
582 changes: 582 additions & 0 deletions src/confluent_kafka/schema_registry/_sync/avro.py

Large diffs are not rendered by default.

648 changes: 648 additions & 0 deletions src/confluent_kafka/schema_registry/_sync/json_schema.py

Large diffs are not rendered by default.

807 changes: 807 additions & 0 deletions src/confluent_kafka/schema_registry/_sync/protobuf.py

Large diffs are not rendered by default.

Loading