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

   Thanks for the continued work on the managed source lanes. Per the latest 
recheck in this thread, the earlier managed-source findings remain open, and I 
don't see a reply to them here yet. If any of them is already addressed, please 
point me to the change and I'll take another look.
   
   **Robustness**
   - **PR11557-F1:** restored splits sent by a legacy-lane Reader are rejected 
outright once they exceed `reader-mailbox-max-bytes`. Please add chunking or 
retry so a checkpoint cannot become unrestorable on the coordinator-only lane.
   - **PR11557-F2:** on the Kafka managed lane, any periodic 
partition-discovery failure or 1-minute timeout fails the source, while the 
legacy lane logs the error and retries on the next interval. Please match the 
legacy behaviour, or explain why the stricter behaviour is intended.
   - **PR11557-F4:** an async timeout releases the per-coordinator concurrency 
slot without confirming the worker has stopped, and the timeout clock starts at 
pool submission rather than at execution. Please hold the slot until the worker 
has actually finished, and start timing at execution.
   - **PR11557-F5:** `max-command-payload-bytes` is checked against the mailbox 
size but not against the 16 MiB wire hard limit. Please add that check to 
`validate()` so a configuration that passes validation cannot fail jobs at 
runtime.
   
   **Docs**
   - **PR11557-F3:** the new connector-facing SPI needs developer 
documentation, and the `ManagedSourceCapability` flags a connector must set 
need Javadoc.
   - **PR11557-F6:** several Javadoc statements say a connector "stays on the 
legacy lane" where the selector actually fails deployment once the flag is 
enabled. Please reword them so explicit deployment rejection is clearly 
distinguished from ordinary legacy selection.
   - **PR11557-F7:** the documented metric names should match what the code 
registers, which is a `#<sourceId>#attempt-<executionId>` suffix rather than 
`#{sourceId}`.
   
   **Performance (low severity)**
   - **PR11557-F8:** `isAvailable()` is permanently completed after 
no-more-splits in `SourceReaderBase` and always completed in 
`FakeSourceReader`, so the managed owner loop falls back to fixed-interval 
polling. Please fix this, or say if you would rather defer it.
   
   A short note per item saying whether it is fixed, intentionally unchanged, 
or deferred would make the next pass much quicker.
   
   <!-- streview-comment:2451 -->


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