pub struct EventStreamConfig {
pub storage_prefix: String,
pub max_topics: usize,
pub max_batch_size: usize,
pub retention_hours: u64,
pub enable_compression: bool,
pub enable_metrics: bool,
}Expand description
Configuration for the event stream
Fields§
§storage_prefix: StringStorage prefix for event keys
max_topics: usizeMaximum number of topics (column families)
max_batch_size: usizeMaximum events per batch
retention_hours: u64Retention period for events (in hours)
enable_compression: boolEnable compression
enable_metrics: boolEnable metrics collection
Trait Implementations§
Source§impl Clone for EventStreamConfig
impl Clone for EventStreamConfig
Source§fn clone(&self) -> EventStreamConfig
fn clone(&self) -> EventStreamConfig
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 EventStreamConfig
impl Debug for EventStreamConfig
Source§impl Default for EventStreamConfig
impl Default for EventStreamConfig
Source§impl<'de> Deserialize<'de> for EventStreamConfig
impl<'de> Deserialize<'de> for EventStreamConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventStreamConfig
impl RefUnwindSafe for EventStreamConfig
impl Send for EventStreamConfig
impl Sync for EventStreamConfig
impl Unpin for EventStreamConfig
impl UnsafeUnpin for EventStreamConfig
impl UnwindSafe for EventStreamConfig
Blanket Implementations§
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