Hi Ivan your assumption about question 1 is true, they will have same records in same order.
about question 2, i'm not following what did you mean about "byte level", could you plz to make more explanations? Best, Lisheng Ivan Yurchenko <ivan0yurche...@gmail.com> 于2019年8月30日周五 下午8:39写道: > Hi, > > Let's say I have a topic-partition replicated to several replicas. On each > replica there is a segment of this topic-partition containing records with > offsets N..M. I'm trying to figure out: > 1. Will the content of these segment files be identical on the logical > level? I.e., will they contain the same records in the same order, nothing > skipped, nothing extra? (I assume this is true, sounds pretty logical.) > 2. Will the content of these segment files be identical on the byte level? > 3. If 2 is no, will at least record layout (positions) be identical? > > Let's keep topic compaction out of consideration here. > > Could you please help me figure this out? > > Br, > Ivan >