pub struct FlowBuilder { /* private fields */ }Implementations§
Source§impl FlowBuilder
impl FlowBuilder
Sourcepub fn consumer_id(self, id: CdcConsumerId) -> Self
pub fn consumer_id(self, id: CdcConsumerId) -> Self
Set the consumer ID for the flow subsystem
Sourcepub fn poll_interval(self, interval: Duration) -> Self
pub fn poll_interval(self, interval: Duration) -> Self
Set the poll interval for checking new CDC events
Sourcepub fn priority(self, priority: Priority) -> Self
pub fn priority(self, priority: Priority) -> Self
Set the priority for the polling task in the worker pool
Sourcepub fn max_batch_size(self, size: u64) -> Self
pub fn max_batch_size(self, size: u64) -> Self
Set the maximum batch size for CDC polling
Sourcepub fn operators_dir(self, path: PathBuf) -> Self
pub fn operators_dir(self, path: PathBuf) -> Self
Set the directory to scan for FFI operator shared libraries
Sourcepub fn register_operator<F>(self, name: impl Into<String>, factory: F) -> Selfwhere
F: Fn(FlowNodeId, &[Expression<'static>]) -> Result<Box<dyn Operator>> + Send + Sync + 'static,
pub fn register_operator<F>(self, name: impl Into<String>, factory: F) -> Selfwhere
F: Fn(FlowNodeId, &[Expression<'static>]) -> Result<Box<dyn Operator>> + Send + Sync + 'static,
Register a custom operator factory
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlowBuilder
impl !RefUnwindSafe for FlowBuilder
impl Send for FlowBuilder
impl Sync for FlowBuilder
impl Unpin for FlowBuilder
impl !UnwindSafe for FlowBuilder
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