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

   Thanks for the updates. Here is where the two earlier points stand, based on 
what is recorded in this thread.
   
   **Validation placement (lower bound declared only on 
`MultiTableSinkFactory`)**
   - This is not solved in this PR. `FactoryUtil.createMultiTableSink` still 
validates at composite creation, after per-table preparation, and connector 
rule discovery still does not expose the constraint.
   - The earlier-validation work is tracked in open follow-up #13774, which 
requires zero and negative replicas to be rejected before sink preparation or 
save-mode actions. The PR description links to it.
   - With that link in place, I'm fine treating this as a tracked follow-up 
rather than something to fix here. Please keep the description wording clear 
that this PR does not deliver the earlier validation.
   
   **Constructor guard vs. PR description**
   - This looks resolved. At `f5c412c9` the constructor reads the replica count 
directly and no longer has the duplicate guard.
   - The description now matches: it says the duplicate is removed, and that 
direct callers must pass a positive count or use 
`FactoryUtil.createMultiTableSink`.
   - Nothing more is needed here unless the code or description changes again.
   
   **Remaining ask**
   - @nzw921rx left two inline comments on this validation path in 
`FactoryUtil`: that it should be consistent with the ordinary source/sink 
handling, and that the dedicated catch is not needed. Those still need a reply 
from the author.
   - If you align with the ordinary path and drop the catch, please confirm 
that the rejected key and value are still identifiable in the resulting error, 
so a user can tell which setting was wrong.
   
   <!-- streview-comment:2779 -->


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