Expand description
Confluent-compatible schema serdes for Krabka clients.
This crate frames payloads as magic(0x00) | schema_id(4 BE) | body. A
Protobuf payload also carries a message-index. The crate registers schemas
with a Confluent-compatible Schema Registry and resolves them from it. The
typed serializers here do not depend on one client: krabka-client-streams
bridges them now, and other clients can bridge them later.
Re-exports§
pub use cache::CacheConfig;pub use cache::DEFAULT_SCHEMA_FETCH_RETRY_INITIAL_BACKOFF;pub use cache::DEFAULT_SCHEMA_FETCH_RETRY_MAX_BACKOFF;pub use cache::RegisterMode;pub use cache::SchemaCache;pub use cache::SchemaFetchRetryPolicy;pub use cache::default_registry;pub use cache::set_default_registry;pub use error::SchemaSerdeError;pub use format::validate::validate_body;pub use registry::RegistryClient;pub use registry::model::SchemaReference;pub use subject::Role;pub use subject::SchemaKind;pub use subject::SubjectStrategy;pub use subject::TopicNameStrategy;