Skip to main content

producer_snapshot_reload_keeps

Function producer_snapshot_reload_keeps 

Source
pub const fn producer_snapshot_reload_keeps(
    offset: i64,
    range: ProducerReloadRange,
) -> bool
Expand description

Keep a snapshot through a reload exactly when Kafka’s truncateAndReload keeps it: when it lies in (log_start, log_end].