onobc commented on code in PR #18358:
URL: https://github.com/apache/pulsar/pull/18358#discussion_r1014915143
##########
pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/PulsarAdminImpl.java:
##########
@@ -215,13 +212,35 @@ public PulsarAdminImpl(String serviceUrl,
}
}
+ private Authentication determineAuth(ClientConfigurationData conf) throws
PulsarClientException {
Review Comment:
This always return a non-null auth which allows the calling code to not deal
w/ that.
Note that `conf.getAuthentication` itself is null-proof and will return
`AuthenticationDisabled` if so.
--
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]