-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Broker] Fix call sync method in async rest api for internalExpireMessagesByPosition #13878
[Broker] Fix call sync method in async rest api for internalExpireMessagesByPosition #13878
Conversation
/pulsarbot run-failure-checks |
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java
Outdated
Show resolved
Hide resolved
emmm. i think we need to refactor this code. it seems very like callback hell. @liudezhi2098 |
|
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java
Outdated
Show resolved
Hide resolved
/pulsarbot run-failure-checks |
2 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
…reMessagesByPosition
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
…sagesByPosition (apache#13878) ### Motivation Avoid call sync method in async rest API for PersistentTopicsBase#internalExpireMessagesByPosition. ### Modifications Use async instead of sync method.
Motivation
Avoid call sync method in async rest API for PersistentTopicsBase#internalExpireMessagesByPosition.
Modifications
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Need to update docs?
no-need-doc