lasdf1234 commented on code in PR #14934:
URL: https://github.com/apache/gravitino/pull/14934#discussion_r4546737676
##########
docs/how-to-use-gravitino-client.md:
##########
@@ -79,48 +82,92 @@ GravitinoAdminClient gravitinoAdminClient =
.build();
```
-The trust store contains certificates that the client trusts when verifying
the Gravitino server.
+**Note:** Configuring a custom truststore with `withTrustStore()` replaces the
JVM's default trust configuration for this client rather than merging with it.
Certificates trusted only by the JVM's default truststore will no longer be
trusted automatically. If the client needs to connect to servers using both
private and public certificate authorities, the custom truststore must contain
the necessary trusted certificates.
Review Comment:
**[Low — docs]** Nice replace-not-merge warning. Please broaden beyond
`withTrustStore()` — e.g. “Configuring a **custom truststore** (via
`withTrustStore()`, `withMutualTls()`, or `builder().trustStore(...)`) replaces
the JVM default trust for this client…”. Same behavior for all
custom-truststore entry points.
--
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]