You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "yigitcan-ozturk (via GitHub)" <gi...@apache.org> on 2026/09/12 00:45:11 UTC
[PR] [Improve][Connector-V2] Migrate S3 Redshift validation to declarative OptionRule [seatunnel]
yigitcan-ozturk opened a new pull request, #12274:
URL: https://github.com/apache/seatunnel/pull/12274
### Purpose of this pull request
This PR migrates declarative-eligible S3 Redshift sink configuration validation to the `OptionRule` / `Conditions` validation framework.
It is part of #11007.
### Changes
- Validate required Redshift JDBC options as non-blank:
- `jdbc_url`
- `jdbc_user`
- `jdbc_password`
- `execute_sql`
- Preserve the existing S3 credential-provider conditional requirements.
- Preserve runtime/network-dependent validation outside of the declarative option layer.
- Add focused regression tests for:
- valid configuration
- missing required options
- empty required string values
- whitespace-only required string values
### Does this PR introduce any user-facing change?
No.
Valid existing configurations are unchanged.
Invalid blank JDBC configuration values are now rejected earlier during option validation instead of reaching the runtime sink path.
### Testing
Added focused `ConfigValidator` coverage in `S3RedshiftSinkFactoryTest`.
### Related issue
#11007
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Improve][Connector-V2] Migrate S3 Redshift validation to declarative OptionRule [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #12274:
URL: https://github.com/apache/seatunnel/pull/12274
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org