Hey Artem, Thanks for the great question about the control record versus the first batch. The verification guard is cleared when either a control marker or a data batch is written, except in a specific TV2 case where it's a control marker with matching epochs. I will edit the KIP to clarify that the guard is cleared when the first batch is written, which could include control records or data records. Thanks for pointing out the missing detail!
On Tue, Oct 14, 2025 at 6:28 PM Artem Livshits <[email protected]> wrote: > Hi Ritika, > > Thanks for the KIP! The proposal makes sense to me. > > I have one clarification question, in the rejected alternatives the first > alternative says "However, its state is cleared after the first control > record is written". Is this the control record or the first batch? > > -Artem > > On Tue, Oct 14, 2025 at 10:39 AM Ritika Reddy <[email protected] > > > wrote: > > > Hi All, > > I would like to start a discussion thread for KIP-1228. It's a relatively > > simple change and would really help strengthen EOS guarantees in Kafka. > > KIP Link - > > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-1228%3A+Add+Transaction+Version+to+WriteTxnMarkersRequest > > JIRA - https://issues.apache.org/jira/browse/KAFKA-19446 > > > > Thanks, > > Ritika > > >
