-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][broker] Use shared broker client scheduled executor provider #16338
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] Use shared broker client scheduled executor provider #16338
Conversation
### Motivation apache#16334 supports passing scheduled executor to the client. Use a shared scheduled executor for the broker clients which used by replicator and system topics.
|
@codelipenghui Please provide a correct documentation label for your PR. |
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
Outdated
Show resolved
Hide resolved
…vice.java Co-authored-by: JiangHaiting <jason.918@qq.com>
eolivelli
left a comment
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
poorbarcode
left a comment
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.
This PR will make multiple clients in the broker node share the same scheduled executor object. Lgtm.
apache#16338) (cherry picked from commit 4dd4ba5) (cherry picked from commit 45fd4ab)
Motivation
#16334 supports passing scheduled executor to the client. Use a shared scheduled executor
for the broker clients which used by replicator and system topics.
Documentation
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-complete(Docs have been already added)