SEZ9 commented on PR #11557:
URL: https://github.com/apache/seatunnel/pull/11557#issuecomment-7053315923

   Thanks for consolidating the remaining requests. The head is still 
`6b2b814181597f060d35ecb40519d281d004303d`, so the earlier findings stand 
unchanged and this is a follow-up, not a new review.
   
   To close them, please push one coordinated update and map each change to the 
items below.
   
   **Correctness items**
   - **Restored-split transfer:** restored splits from a legacy-lane Reader 
that exceed `reader-mailbox-max-bytes` are rejected with no chunking or retry, 
which can leave a checkpoint unrestorable. This needs bounded/chunked delivery.
   - **Kafka discovery failures:** on the managed lane a periodic 
partition-discovery failure or 1-minute timeout fails the source, while the 
legacy lane logs and retries on the next interval. Please settle these 
semantics against the legacy behavior.
   - **Async timeout:** the per-coordinator concurrency slot is released 
without confirming the worker has stopped, and the timeout clock starts at pool 
submission rather than execution. The slot should stay owned until the worker 
actually stops.
   - **Payload limit:** `max-command-payload-bytes` is checked against the 
mailbox size but not the 16 MiB wire hard limit, so a configuration that passes 
`validate()` can still fail at runtime. Please define a real contract for that 
case.
   
   **Documentation items**
   - **SPI docs:** add developer documentation for the new connector-facing SPI 
and Javadoc for the `ManagedSourceCapability` flags.
   - **Javadoc wording:** correct the "stays on the legacy lane" statements 
where the selector actually fails deployment once the flag is enabled.
   - **Metric names:** the documented names should match what is registered, 
i.e. the `#<sourceId>#attempt-<executionId>` suffix rather than `#{sourceId}`.
   
   **Optional**
   - **Availability future:** the always-completed `isAvailable()` in 
`SourceReaderBase` (after no-more-splits) and `FakeSourceReader` is a separate 
scheduling concern. It does not need to hold up the items above.
   
   Please also include regression tests for the restore, discovery, timeout and 
payload cases, and keep the legacy-lane behavior covered. If you intend to 
defer any item, say which one and why, so we can agree on it before these 
points are marked resolved.
   
   <!-- streview-comment:2500 -->


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