Closed poorbarcode closed 1 week ago
Attention: Patch coverage is 50.00000%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 74.33%. Comparing base (
bbc6224
) to head (368653b
). Report is 714 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
...client/admin/internal/http/AsyncHttpConnector.java | 50.00% | 2 Missing :warning: |
Motivation
When users are calling
pulsar-admin
API, and there is an internal error( such as a deserialize JSON error), there is no error log.You can test it this way:
TopicStatsImpl
, and return aString
value(such asabc
), which will make theresponse.msgRateIn
as a String valueabc
.pulsar-admin topics stats
Modifications
Print error log if handle HTTP response fails
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: x