[improve][broker] GetMessageById add RedeliveryCount for output#15095
[improve][broker] GetMessageById add RedeliveryCount for output#15095tisonkun merged 2 commits intoapache:masterfrom
Conversation
|
@leizhiyuan:Thanks for your contribution. For this PR, do we need to update docs? |
|
@leizhiyuan:Thanks for providing doc info! |
|
The pr had no activity for 30 days, mark with Stale label. |
|
The pr had no activity for 30 days, mark with Stale label. |
|
/pulsarbot run-failure-checks |
|
The pr had no activity for 30 days, mark with Stale label. |
|
/pulsarbot run-failure-checks |
|
The pr had no activity for 30 days, mark with Stale label. |
|
@leizhiyuan Please add the following content to your PR description and select a checkbox: |
Codecov Report
@@ Coverage Diff @@
## master #15095 +/- ##
============================================
- Coverage 47.92% 44.68% -3.25%
- Complexity 10679 10694 +15
============================================
Files 703 763 +60
Lines 68831 73596 +4765
Branches 7378 7912 +534
============================================
- Hits 32988 32884 -104
- Misses 32119 37013 +4894
+ Partials 3724 3699 -25
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…he#15095) Co-authored-by: tison <wander4096@gmail.com>
…he#15095) Co-authored-by: tison <wander4096@gmail.com>
…he#15095) Co-authored-by: tison <wander4096@gmail.com>
| } | ||
|
|
||
| private void incrementUnackedMessages(int ackedMessages) { | ||
| private void incrementUnackedMessages(int unackedMessages) { |
There was a problem hiding this comment.
Yeah, but we also call this with ackedMessages as a negative counter. Yep - very confusing. Very
(If this PR fixes a github issue, please add
Fixes #<xyz>.)Fixes #15086
(or if this PR is one task of a github issue, please add
Master Issue: #<xyz>to link to the master issue.)Master Issue: #15086
Motivation
GetMessageById add RedeliveryCount for output
fix typo
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
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
yeswas chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-required(Your PR needs to update docs and you will update later)
doc-not-needed(Please explain why)
doc(Your PR contains doc changes)
doc-added(Docs have been already added)