SEZ9 commented on PR #11557:
URL: https://github.com/apache/seatunnel/pull/11557#issuecomment-7025837295
Thanks for the follow-up. No new commit has arrived since the last review,
so the earlier findings stand as they are and I am not doing another full pass.
Please address them in one coordinated update and map each change to its
finding ID:
**Robustness**
- **PR11557-F1**: restored splits sent by a legacy-lane Reader are rejected
outright once they exceed `reader-mailbox-max-bytes`, with no chunking or
retry. Please make sure a checkpoint stays restorable on the coordinator-only
lane.
- **PR11557-F2**: on the Kafka managed lane, a 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 align the two, or explain why
the stricter behavior 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.
- **PR11557-F5**: `max-command-payload-bytes` is checked against the mailbox
size but not against the 16 MiB wire hard limit, so a configuration that passes
`validate()` can still fail jobs at runtime.
**Docs**
- **PR11557-F3**: the new connector-facing SPI needs developer
documentation, and the `ManagedSourceCapability` flags 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.
- **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.
When you push, please add a short note per finding saying what changed and
which test covers it, and keep the legacy-lane behavior covered. If you plan to
defer any item, say which one and why.
<!-- streview-comment:2476 -->
--
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]