DanielLeens commented on PR #13664:
URL: https://github.com/apache/seatunnel/pull/13664#issuecomment-7241882436

   ### Implementation Notes and Trade-offs
   
   This note applies to Git head `8f895fd431b7bc680988c7c32ab80a8795453715`.
   
   - A default HTTP 202 confirms that the source emitted every row and observed 
a completed checkpoint that covers the request. A separate `admission` setting 
acknowledges in-memory queue admission. Use the returned `X-SeaTunnel-Ack` 
header to distinguish them and verify downstream commits independently.
   - The listener keeps one bounded receipt window. A stable request ID with 
the same decoded bytes and projected metadata shares the current result. 
Conflicting reuse gets 409. An evicted identity can be accepted again. Timeout 
or connection close leaves an unknown outcome. Retrying a partly emitted 
request can repeat the same request ID and record index.
   - Checkpoint state contains recent fully emitted request receipts, with no 
open sockets or queued bodies. Snapshot and checkpoint completion callbacks are 
correlated by exact checkpoint ID. The HTTP wait runs on the connection worker, 
outside the engine checkpoint lock.
   - This worker-local listener handles POST and PUT ingress. Returning a 
downstream-generated reply on the originating exchange requires request-result 
correlation and a terminal signal across stages.
   - The tests cover real streaming Zeta wait, restore, bounded inputs, and 
cancellation. A packaged reader probe controls the exact 32/33-row boundary and 
aborted or unrelated checkpoint callbacks. Scoped JDK 11 formatting and static 
checks passed. GitHub CI owns compilation and test execution.
   


-- 
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