Open rdhabalia opened 7 hours ago
Attention: Patch coverage is 50.00000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 74.33%. Comparing base (
bbc6224
) to head (a75a7c9
). Report is 735 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
...g/apache/pulsar/client/impl/ClientBuilderImpl.java | 50.00% | 0 Missing and 1 partial :warning: |
🚨 Try these New Features:
Motivation
Currently, there are user applications that want to load client configurations dynamically from a config file and create PulsarClient by passing that dynamically created ClientConfigurationData. In that case, the Pulsar client doesn't initialize authentication with provided auth parameters and authPluginClass into ClientConfigurationData, so user applications are not able to configure authentication correctly. Therefore, PulsarClient should initialize authentication based on provided auth configuration (param and auth-class) and use it for server connection.
Modifications
Pulsar client lib can initialize authentication using configured auth-param and class into client-configuration.
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: