SEZ9 commented on PR #11557:
URL: https://github.com/apache/seatunnel/pull/11557#issuecomment-7071435763
Thanks for the continued work on this. The head is still
`6b2b814181597f060d35ecb40519d281d004303d`, so none of the earlier points can
be marked resolved yet. Here is what remains, all from the existing review.
**Code changes still needed**
- **Restored splits:** splits sent back by a legacy-lane Reader are rejected
outright once they exceed `reader-mailbox-max-bytes`. Please make the transfer
bounded or chunked (or retried) so a checkpoint cannot become unrestorable on
the coordinator-only lane.
- **Kafka discovery failures:** on the managed lane, a periodic
partition-discovery failure or 1-minute timeout fails the source. Please keep
the legacy behavior of logging the error and retrying on the next interval.
- **Async timeout ownership:** a timeout releases the per-coordinator
concurrency slot without confirming the worker has stopped, and the clock
starts at pool submission. Please hold the slot until the worker actually stops
and measure the timeout from execution start.
- **Payload limit validation:** `max-command-payload-bytes` is checked
against the mailbox size but not against the 16 MiB wire hard limit. Please
either reject such values in `validate()` or define how larger valid
configurations are handled, so a config that passes validation cannot fail jobs
at runtime.
Please add regression tests for the restore, discovery, timeout and payload
cases along with these changes.
**Documentation still needed**
- Add developer documentation for the new connector-facing SPI, and Javadoc
on the `ManagedSourceCapability` flags a connector must set.
- Correct the Javadoc that says a connector "stays on the legacy lane" where
the selector actually fails deployment once the flag is enabled.
- Align the documented metric names with what the code registers, which is a
`#<sourceId>#attempt-<executionId>` suffix rather than `#{sourceId}`.
**Optional**
- `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. This is low severity and can
be a follow-up, but please say which way you plan to go.
Once you push the update, a short note on which commit addresses which point
would make it quick to confirm each one.
<!-- streview-comment:2524 -->
--
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]