-
Couldn't load subscription status.
- Fork 3.7k
PIP-254: Support configuring client version #20009
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIP-254: Support configuring client version #20009
Conversation
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ClientCnx.java
Outdated
Show resolved
Hide resolved
### Motivation apache#19705 ### Modifications - Add the `ClientBuilderImpl#description` method to add the description to the original client version string that is set in `CommandConnect` and `CommandAuthResponse`. - Add `testClientVersion` to cover these two cases.
2114f3a to
9ea0d23
Compare
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ClientBuilderImpl.java
Outdated
Show resolved
Hide resolved
pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ClientConfigurationData.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for the new change.
Codecov Report
@@ Coverage Diff @@
## master #20009 +/- ##
=============================================
+ Coverage 34.65% 72.88% +38.22%
- Complexity 12429 31673 +19244
=============================================
Files 1606 1858 +252
Lines 125026 137532 +12506
Branches 13667 15129 +1462
=============================================
+ Hits 43332 100240 +56908
+ Misses 76081 29319 -46762
- Partials 5613 7973 +2360
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Motivation
#19705
Modifications
ClientBuilderImpl#descriptionmethod to add the description to the original client version string that is set inCommandConnectandCommandAuthResponse.testClientVersionto cover these two cases.Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: BewareMyPower#21