pub struct IsrCandidateFacts {
pub role: IsrMemberRole,
pub follower_log_end: i64,
pub leader_log_end: i64,
pub leader_high_watermark: i64,
pub leader_epoch_start: Option<i64>,
pub caught_up_within_lag: bool,
pub eligibility: IsrEligibilityFacts,
}Expand description
What the leader knows about one candidate at an ISR maintenance scan, read once at the scan’s single timestamp.
Fields§
§role: IsrMemberRole§follower_log_end: i64Kafka’s ReplicaState.logEndOffset: the follower’s last fetch offset,
-1 before it fetched from this leader.
leader_log_end: i64The leader’s log end offset.
leader_high_watermark: i64The leader’s high watermark.
leader_epoch_start: Option<i64>Kafka’s Partition.leaderEpochStartOffsetOpt: the log end offset at
which this leader’s epoch began, None while unknown.
caught_up_within_lag: boolThe follower’s last caught-up time is within
replica.lag.time.max.ms.
eligibility: IsrEligibilityFactsTrait Implementations§
Source§impl Clone for IsrCandidateFacts
impl Clone for IsrCandidateFacts
Source§fn clone(&self) -> IsrCandidateFacts
fn clone(&self) -> IsrCandidateFacts
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 IsrCandidateFacts
Source§impl Debug for IsrCandidateFacts
impl Debug for IsrCandidateFacts
impl Eq for IsrCandidateFacts
Source§impl PartialEq for IsrCandidateFacts
impl PartialEq for IsrCandidateFacts
impl StructuralPartialEq for IsrCandidateFacts
Auto Trait Implementations§
impl Freeze for IsrCandidateFacts
impl RefUnwindSafe for IsrCandidateFacts
impl Send for IsrCandidateFacts
impl Sync for IsrCandidateFacts
impl Unpin for IsrCandidateFacts
impl UnsafeUnpin for IsrCandidateFacts
impl UnwindSafe for IsrCandidateFacts
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