pub struct SchemaRegistryConfig {
pub enable_auto_discovery: bool,
pub enable_caching: bool,
pub cache_ttl_seconds: u64,
pub enable_versioning: bool,
pub max_versions_per_schema: usize,
pub enable_validation: bool,
pub auto_refresh_on_changes: bool,
pub discovery_config: SchemaDiscoveryConfig,
}Expand description
Configuration for schema registry
Fields§
§enable_auto_discovery: boolEnable automatic schema discovery
enable_caching: boolEnable schema caching
cache_ttl_seconds: u64Cache TTL in seconds
enable_versioning: boolEnable schema versioning
max_versions_per_schema: usizeMaximum versions to keep per schema
enable_validation: boolEnable schema validation
auto_refresh_on_changes: boolAuto-refresh schemas on SSTable changes
discovery_config: SchemaDiscoveryConfigDiscovery configuration
Trait Implementations§
Source§impl Clone for SchemaRegistryConfig
impl Clone for SchemaRegistryConfig
Source§fn clone(&self) -> SchemaRegistryConfig
fn clone(&self) -> SchemaRegistryConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchemaRegistryConfig
impl Debug for SchemaRegistryConfig
Auto Trait Implementations§
impl Freeze for SchemaRegistryConfig
impl RefUnwindSafe for SchemaRegistryConfig
impl Send for SchemaRegistryConfig
impl Sync for SchemaRegistryConfig
impl Unpin for SchemaRegistryConfig
impl UnsafeUnpin for SchemaRegistryConfig
impl UnwindSafe for SchemaRegistryConfig
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more