pub struct IntegrationBusConfig {
pub buffer_size: usize,
pub persist_events: bool,
pub max_history_size: usize,
pub enable_dead_letter_queue: bool,
}Expand description
Configuration for the integration event bus
Fields§
§buffer_size: usizeMaximum number of events to buffer in the broadcast channel
persist_events: boolEnable event persistence for replay/audit
max_history_size: usizeMaximum events to keep in history
enable_dead_letter_queue: boolEnable dead letter queue for failed handlers
Implementations§
Source§impl IntegrationBusConfig
impl IntegrationBusConfig
Sourcepub fn with_persistence() -> Self
pub fn with_persistence() -> Self
Create config with persistence enabled
Sourcepub fn buffer_size(self, size: usize) -> Self
pub fn buffer_size(self, size: usize) -> Self
Set buffer size
Sourcepub fn max_history_size(self, size: usize) -> Self
pub fn max_history_size(self, size: usize) -> Self
Set max history size
Trait Implementations§
Source§impl Clone for IntegrationBusConfig
impl Clone for IntegrationBusConfig
Source§impl Debug for IntegrationBusConfig
impl Debug for IntegrationBusConfig
Auto Trait Implementations§
impl Freeze for IntegrationBusConfig
impl RefUnwindSafe for IntegrationBusConfig
impl Send for IntegrationBusConfig
impl Sync for IntegrationBusConfig
impl Unpin for IntegrationBusConfig
impl UnsafeUnpin for IntegrationBusConfig
impl UnwindSafe for IntegrationBusConfig
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