zephyr45 commented on PR #13060:
URL: https://github.com/apache/seatunnel/pull/13060#issuecomment-7312784027

   @SEZ9 F3 on `4e94f157`:
   
   1. **Test**: 
`KafkaSinkWriterTest#shouldNotWalkStatelessWriterTransactionHistory` starts a 
writer with no restored state three times, with sequences 1–4 open, and asserts 
the only ID it fences is sequence 1. On a real broker, 
`KafkaIT#shouldFenceAbandonedAttemptWithStableIndex` creates both writers with 
no state; the retry fences the open sequence-1 transaction and `read_committed` 
then reads past it.
   
   2. **Docs**: yes, all four state the case itself. EN `Kafka.md` L106: "If 
such a writer abandoned a later sequence before any checkpoint state was 
retained, no checkpoint identifies that transaction, so `read_committed` 
consumers can remain blocked until Kafka's `transaction.timeout.ms` expires." 
EN/ZH `incompatible-changes.md` (L128/L110) and ZH `Kafka.md` L102 say the same.
   
   **Conflict**: #10502, merged today, conflicts with this PR in the two Spark 
writer factories. I have a tested fix: merge `dev`, with 
`SparkSinkWriterContext` also passing #10502's dirty-record collector to its 
parent; the stable index is unchanged. Should I push it now, or after your 
final call on `4e94f157`?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to