pub struct TransactionTopicConfig {
pub topic_prefix: String,
pub emit_begin: bool,
pub emit_end: bool,
pub enrich_events: bool,
pub max_in_flight: usize,
}Expand description
Configuration for transaction topic emission.
Fields§
§topic_prefix: StringTopic prefix (e.g., “mydb” -> “mydb.transaction”)
emit_begin: boolWhether to emit BEGIN events (default: true)
emit_end: boolWhether to emit END events (default: true)
enrich_events: boolWhether to enrich CDC events with transaction context (default: true)
max_in_flight: usizeMaximum in-flight transactions before warning
Implementations§
Source§impl TransactionTopicConfig
impl TransactionTopicConfig
Sourcepub fn builder() -> TransactionTopicConfigBuilder
pub fn builder() -> TransactionTopicConfigBuilder
Create a builder for TransactionTopicConfig.
Sourcepub fn transaction_topic(&self) -> String
pub fn transaction_topic(&self) -> String
Get the transaction topic name.
Trait Implementations§
Source§impl Clone for TransactionTopicConfig
impl Clone for TransactionTopicConfig
Source§fn clone(&self) -> TransactionTopicConfig
fn clone(&self) -> TransactionTopicConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 TransactionTopicConfig
impl Debug for TransactionTopicConfig
Auto Trait Implementations§
impl Freeze for TransactionTopicConfig
impl RefUnwindSafe for TransactionTopicConfig
impl Send for TransactionTopicConfig
impl Sync for TransactionTopicConfig
impl Unpin for TransactionTopicConfig
impl UnsafeUnpin for TransactionTopicConfig
impl UnwindSafe for TransactionTopicConfig
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