pub fn caught_up(next: &BTreeMap<i32, i64>, ends: &BTreeMap<i32, i64>) -> bool
Whether every partition of ends has a next offset at or past its end. A partition that ends at offset zero holds nothing and needs no read.
ends