-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][broker] Make some operation SubscribeRate methods in Namespaces async #15656
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] Make some operation SubscribeRate methods in Namespaces async #15656
Conversation
@shibd PTAL |
05118cd
to
4ffbbb0
Compare
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
Outdated
Show resolved
Hide resolved
@shibd All suggested fixed. PTAL. |
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.
Great work! I left some comments here, could you please help confirm the test cover this change?
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
@mattisonchao OK, I'll try it. There is no unit test for the v2 Namespaces yet, I will try to add it, it may take some time. |
dbcf10c
to
dcdf075
Compare
dcdf075
to
def3cff
Compare
@shibd @mattisonchao PTAL. |
Hi @mattisonchao Can you help trigger the ci ? |
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
Hi @Technoboy- Can you help trigger the ci ? |
Yes, I have triggered. |
Thanks |
/pulsarbot run-failure-checks |
Motivation
See PIP #14365 and change tracker #15043.
Make NamespacesBase deleteSubscribeRate / setSubscribeRate / getSubscribeRate methods to pure async.
Documentation
no-need-doc