ericsyh commented on code in PR #16315: URL: https://github.com/apache/pulsar/pull/16315#discussion_r927428338
########## 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: @nodece updated in https://github.com/apache/pulsar/pull/16315/commits/5d5d10252ec65fa0217d78747f62997d006dd3a3 -- 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]
