mattisonchao commented on a change in pull request #14253:
URL: https://github.com/apache/pulsar/pull/14253#discussion_r805123906
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarChannelInitializer.java
##########
@@ -72,7 +72,10 @@ public PulsarChannelInitializer(ClientConfigurationData
conf, Supplier<ClientCnx
if (tlsEnabled) {
if (tlsEnabledWithKeyStore) {
AuthenticationDataProvider authData1 =
conf.getAuthentication().getAuthData();
-
+ if (conf.getTlsTrustStorePath() == null) {
+ throw new RuntimeException("Failed to create TLS context,
Due to empty "
Review comment:
Hi, @Jason918.
I agree with @codelipenghui.
--
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]