This doesn't work. The must clean offset we are trying to find could be in the middle of dirty segments. We have used fold and scan but iterator might be more clear for this purpose because we need to look at previous segment for current segment's creation time and look at next segment for baseoffset.
[ Full content available at: https://github.com/apache/kafka/pull/5611 ] This message was relayed via gitbox.apache.org for [email protected]
