-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[improve][broker] PIP-315: Configurable max delay limit for delayed delivery #21798
Conversation
@KevinLiLu Please add the following content to your PR description and select a checkbox:
|
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Producer.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Producer.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.
LGTM. Great work. Thanks for the contribution!
I added an "optional" comment about using java.time.Duration for the public API.
...-admin-api/src/main/java/org/apache/pulsar/common/policies/data/DelayedDeliveryPolicies.java
Show resolved
Hide resolved
pulsar-client-tools-test/src/test/java/org/apache/pulsar/admin/cli/PulsarAdminToolTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: JiangHaiting <jianghaiting@apache.org>
Hi @lhotari, apologies for the churn but could you re-trigger the workflow? I missed the maxDelay parameter in a couple Cmd classes. |
@KevinLiLu Please resolve the conflicts |
@dao-jun Thanks for pointing this out. I have resolved the conflict. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #21798 +/- ##
============================================
+ Coverage 73.60% 73.65% +0.05%
- Complexity 32411 32456 +45
============================================
Files 1861 1861
Lines 138674 138724 +50
Branches 15182 15188 +6
============================================
+ Hits 102070 102180 +110
+ Misses 28702 28660 -42
+ Partials 7902 7884 -18
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
lgtm
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.
LGTM
@lhotari does all the conversations resolved? |
LGTM |
PIP-315: Configurable max delay limit for delayed delivery (https://github.com/apache/pulsar/blob/master/pip/pip-315.md)
Motivation
Modifications
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: