Nikk8091 commented on issue #11007:
URL: https://github.com/apache/seatunnel/issues/11007#issuecomment-6161288604

   Hi, I would like to request a narrow `connector-cdc-db2` Source validation 
slice for future work.
   
   On current `dev` (`25bcc53f`), `Db2IncrementalSourceFactory.optionRule()` 
requires `url` for presence but does not reject an explicitly empty or 
whitespace-only value. The tracker lists this connector as Todo, and I did not 
find an open PR for this specific rule.
   
   I propose adding only `Conditions.notBlank(URL)` to the existing required 
option and extending `Db2IncrementalSourceFactoryTest` with direct 
`ConfigValidator` cases for a valid URL, missing URL, empty URL, 
whitespace-only URL, and a padded nonblank URL accepted unchanged. I will leave 
JDBC URL parsing, table selection, startup/stop rules, credentials, connection 
behavior, and runtime checks untouched, and check the connector docs for 
consistency. This would be one DB2-scoped PR against `dev` after confirmation.
   
   Could you confirm this scope is available and appropriate? Thank you!


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