You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/19 15:30:28 UTC

[GitHub] [pulsar] nodece commented on a diff in pull request #16315: [fix](doc): incorrect tls config in java client doc

nodece commented on code in PR #16315:
URL: https://github.com/apache/pulsar/pull/16315#discussion_r924655915


##########
site2/docs/client-libraries-java.md:
##########
@@ -1513,7 +1513,7 @@ Pulsar currently supports three authentication schemes: [TLS](security-tls-authe
 
 ### TLS Authentication
 
-To use [TLS](security-tls-authentication.md), you need to set TLS to `true` using the `setUseTls` method, point your Pulsar client to a TLS cert path, and provide paths to cert and key files.
+To use [TLS](security-tls-authentication.md), you need to set TLS to `true` using the `enableTls` method, point your Pulsar client to a TLS cert path, and provide paths to cert and key files.

Review Comment:
   `enableTls` has been deprecated, I think we should explain `pulsar+ssl://` instead of this.



-- 
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@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org