pub struct CheckpointSection {
pub interval: Duration,
pub max_pending_batches: usize,
pub drain_timeout: Duration,
pub stalled_fail_after: Duration,
}Expand description
checkpoint: — watermark commit policy.
Fields§
§interval: DurationHow often committable watermarks are flushed to the source.
max_pending_batches: usizeMaximum unacknowledged batches per partition before that partition is paused (doubles as a backpressure trigger).
drain_timeout: DurationShutdown/rebalance drain budget. Must be comfortably below the pod’s
terminationGracePeriodSeconds.
stalled_fail_after: DurationA partition watermark stalled behind a failed batch for longer than
this fails the pipeline. Failed batches only stall watermarks
permanently (their data replays after restart), so this converts a
permanent sink failure — a dropped table, revoked credentials — into
a clean Failed exit and a restart instead of a process that runs on
forever, consuming the source but committing nothing for that
partition.
Trait Implementations§
Source§impl Debug for CheckpointSection
impl Debug for CheckpointSection
Source§impl Default for CheckpointSection
impl Default for CheckpointSection
Source§impl<'de> Deserialize<'de> for CheckpointSectionwhere
CheckpointSection: Default,
impl<'de> Deserialize<'de> for CheckpointSectionwhere
CheckpointSection: Default,
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
Source§impl PartialEq for CheckpointSection
impl PartialEq for CheckpointSection
Source§fn eq(&self, other: &CheckpointSection) -> bool
fn eq(&self, other: &CheckpointSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckpointSection
Auto Trait Implementations§
impl Freeze for CheckpointSection
impl RefUnwindSafe for CheckpointSection
impl Send for CheckpointSection
impl Sync for CheckpointSection
impl Unpin for CheckpointSection
impl UnsafeUnpin for CheckpointSection
impl UnwindSafe for CheckpointSection
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