yidaimi commented on issue #10443:
URL: https://github.com/apache/seatunnel/issues/10443#issuecomment-6847039654

   @SEZ9 Done. I ran the merged Amazon DocumentDB source 
(`connector-amazondocumentdb`, #12046) against the same live DocumentDB 5.0.2 
TLS endpoint. SeaTunnel was built from `dev` (`928334411`) and run in Zeta 
local mode, with no JVM-wide trust store: the RDS CA came only from 
`tls_ca_file`.
   
   | Case | Configuration | Result |
   |---|---|---|
   | S01 | `tls_ca_file` = RDS bundle, no `retryWrites` in the URI | FINISHED, 
10/10 rows, all types correct |
   | S02 | + `match.query` / `match.projection` | FINISHED, 4 rows, only 
projected fields |
   | S03 | `tls_ca_file` = unrelated CA | FAILED: `PKIX path building failed` |
   | S04 | `tls = true` without `tls_ca_file` | rejected before submission: 
`'tls_ca_file' is required` |
   | S05 | URI `retryWrites=true` | rejected before submission: `does not 
support retryable writes` |
   | S06 | `tls = false` option, URI `tls=true` | option wins, plain connection 
fails |
   | S07 | endpoint by IP | FAILED: `No subject alternative names matching IP 
address` |
   | S08 | by IP + `tlsAllowInvalidHostnames=true` | FINISHED, explicit opt-out 
honored |
   
   So the read path, per-job CA trust, hostname verification and the 
`retryWrites(false)` enforcement all behave as designed. I found nothing that 
needs a change. Not covered: stream mode and parallel splits (out of scope for 
V1) and large collections.
   
   - Results, configs and redacted log excerpts: 
[source-validation.md](https://github.com/yidaimi/seatunnel-cosmos-to-documentdb/blob/v0.2-delete_insert/test/source-compat/source-validation.md)
   - Reproduction: 
[run-source-matrix.sh](https://github.com/yidaimi/seatunnel-cosmos-to-documentdb/blob/v0.2-delete_insert/test/source-compat/run-source-matrix.sh)
   
   A small clarification: #12907 by @1328837476-hug is the Ingres JDBC dialect, 
not a DocumentDB PR, so I don't think its open items depend on this run.
   
   PR status: #13200 now includes the `incompatible-changes.md` entry requested 
in review, and #13215 (`tls_ca_file` for the MongoDB sink) has been reviewed by 
DanielLeens. Both are waiting for workflow approval.
   


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