pub struct HighWatermarkFacts {
pub current: i64,
pub leader_log_end: i64,
pub isr_size: usize,
pub effective_min_isr: usize,
}Expand description
The partition-wide inputs of Kafka’s Partition.maybeIncrementLeaderHW.
Fields§
§current: i64The leader’s high watermark before this step.
leader_log_end: i64The leader’s log end offset.
isr_size: usizeKafka’s partitionState.isr.size: the ISR, leader included.
effective_min_isr: usizeKafka’s Partition.effectiveMinIsr: min.insync.replicas capped by
the replica count.
Trait Implementations§
Source§impl Clone for HighWatermarkFacts
impl Clone for HighWatermarkFacts
Source§fn clone(&self) -> HighWatermarkFacts
fn clone(&self) -> HighWatermarkFacts
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 moreimpl Copy for HighWatermarkFacts
Source§impl Debug for HighWatermarkFacts
impl Debug for HighWatermarkFacts
impl Eq for HighWatermarkFacts
Source§impl PartialEq for HighWatermarkFacts
impl PartialEq for HighWatermarkFacts
impl StructuralPartialEq for HighWatermarkFacts
Auto Trait Implementations§
impl Freeze for HighWatermarkFacts
impl RefUnwindSafe for HighWatermarkFacts
impl Send for HighWatermarkFacts
impl Sync for HighWatermarkFacts
impl Unpin for HighWatermarkFacts
impl UnsafeUnpin for HighWatermarkFacts
impl UnwindSafe for HighWatermarkFacts
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