You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "zhangshenghang (via GitHub)" <gi...@apache.org> on 2026/08/06 14:11:50 UTC

[PR] [Fix][Connector-V2] Forward SQL Server JDBC URL properties [seatunnel]

zhangshenghang opened a new pull request, #11674:
URL: https://github.com/apache/seatunnel/pull/11674

   ## What does this PR do?
   
   Fixes #8346.
   
   SQL Server CDC parsed its JDBC URL but passed only the host and port to Debezium. Driver options from the URL, including `encrypt` and `trustServerCertificate`, were therefore lost when Debezium created its connection.
   
   This PR forwards non-address JDBC URL properties to Debezium as `database.*` properties. Explicit settings in the `debezium` block are applied afterwards and remain authoritative. The English and Chinese connector documentation now describe this behavior.
   
   ## Verification
   
   - `./mvnw spotless:apply`
   - `./mvnw -q -DskipTests verify`
   - `./mvnw -pl seatunnel-connectors-v2/connector-cdc/connector-cdc-sqlserver -Dtest=SqlServerIncrementalSourceFactoryTest test`
   
   The new regression test verifies forwarding of `encrypt` and `trustServerCertificate`, excludes URL address fields, and confirms explicit Debezium configuration takes precedence.


-- 
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] [Fix][Connector-V2] Forward SQL Server JDBC URL properties [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #11674:
URL: https://github.com/apache/seatunnel/pull/11674


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