You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "goutamadwant (via GitHub)" <gi...@apache.org> on 2026/09/19 23:41:01 UTC
[PR] [Feature][Connector-V2] Add Kafka sink connectivity dry-run [seatunnel]
goutamadwant opened a new pull request, #12400:
URL: https://github.com/apache/seatunnel/pull/12400
### Purpose of this pull request
Related to #10681.
Add Kafka sink support for `--dry-run connect` through the existing validation SPI. Reuse the writer's serializer construction and validate Kafka metadata without creating a producer.
### Does this PR introduce _any_ user-facing change?
Yes. Kafka sinks previously reported `SKIPPED`. They now validate local schema/format configuration and broker metadata.
- Fixed topics: check topic existence and explicit partition bounds.
- Record-dependent topics: check the referenced field and broker connectivity; target existence and partition bounds remain runtime checks.
- Preserve authentication properties and bootstrap-server precedence.
- Bound metadata waits, preserve interruption and close the AdminClient.
- Do not produce records, create topics or initialize transactions, including in exactly-once mode.
Metadata access does not establish Produce or transaction permissions. Normal writing behavior is unchanged. No new options, dependencies or public SPI changes are introduced.
EN/ZH documentation describes the validation scope and limitations.
### How was this patch tested?
- Factory regression fails before the change and passes afterward.
- Java 8 and Java 11: all 114 Kafka connector tests pass on each JDK.
- Java 8 and Java 11: all six authenticated Kafka integration tests pass on each JDK.
- Integration checks verify unchanged record offsets, topic inventory and transaction inventory.
- Missing topics, invalid partitions and invalid credentials fail as expected.
- Fresh Java 11 74-module E2E dependency reactor passes.
- Whole-repository `./mvnw -q -DskipTests verify` passes, including distribution packaging.
- Spotless and whitespace checks pass.
The broader build compiles tests but does not execute them. TLS and custom client extensions are not covered by the authenticated plaintext fixture.
### Check list
- [x] EN/ZH connector and command documentation updated.
- [x] Existing connector E2E coverage extended.
- [x] No new dependency or binary package.
- [x] No connector registration changes required.
- [x] No incompatible normal-execution change.
--
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] [Feature][Connector-V2] Add Kafka sink connectivity dry-run [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #12400:
URL: https://github.com/apache/seatunnel/pull/12400
--
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] [Feature][Connector-V2] Add Kafka sink connectivity dry-run [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on PR #12400:
URL: https://github.com/apache/seatunnel/pull/12400#issuecomment-5772189862
Shared the runtime topic parser with dry-run validation, restored actionable fallback hints without exposing driver details, and clarified the timeout handling and tests. All 119 connector tests pass. The extended dynamic-topic fixture and its E2E reactor compile/package successfully, but the broker test has not been executed locally. The previous-head aggregate failure was in the PostgreSQL CDC restore scenario, not the Kafka test lanes.
Pushed in b7c98c6af6b3. CI for the new head is pending; the results above are scoped verification, not a green aggregate-build claim.
--
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] [Feature][Connector-V2] Add Kafka sink connectivity dry-run [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on PR #12400:
URL: https://github.com/apache/seatunnel/pull/12400#issuecomment-5748010174
Addressed in `7a0e73582`: dry-run now identifies invalid field options, incompatible settings and out-of-range partitions using connector-owned diagnostic text. Remote network/protocol failures have safe categories; raw exception messages, causes and suppressed errors remain excluded. The stronger tests also exposed missing parameters in the shared serializer's error construction, which is now corrected. EN/ZH source and sink docs agree on support, missing-topic behavior and per-table validation cost.
Verified 48 Kafka factory, serializer and dry-run tests in a reactor build. Broker/container E2E and new-head CI remain separate verification gates.
--
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