nodece opened a new pull request, #15634:
URL: https://github.com/apache/pulsar/pull/15634

   Fixes #15289 
   
   ### Motivation
   
   The client supports TLS transport encryption and TLS authentication, this 
code so like:
   
   ```java
   PulsarClient client = PulsarClient.builder()
                   .serviceUrl("pulsar+ssl://localhost:6651")
                   .tlsTrustCertsFilePath("/path/to/cacert.pem")
                   .authentication(AuthenticationTls.class.getName(), 
authParams)
                   .build()
   ```
   
   We are using AuthenticationTls to perform the TLS transport encryption and 
TLS authentication, this causes an issue that cannot use other authentication 
with TLS transport encryption, and also made our confusion if we use TLS 
transport encryption by setting `authentication`.
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [x] `doc-required` 
   (Your PR needs to update docs and you will update later)
   


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