-
Notifications
You must be signed in to change notification settings - Fork 3.6k
make orderedExecutor threads number configurable #7765
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
Conversation
conf/broker.conf
Outdated
@@ -58,6 +58,9 @@ advertisedAddress= | |||
# Number of threads to use for Netty IO. Default is set to 2 * Runtime.getRuntime().availableProcessors() | |||
numIOThreads= | |||
|
|||
# Number of threads to use for orderedExecutor. Default is 8 |
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.
Could you please add more description for the ordered executor in the broker? For example, what tasks will he be used to perform, etc?
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.
Thanks for your feedback. I have updated some descriptions, please take a look.
/pulsarbot run-failure-checks |
Co-authored-by: Matteo Merli <mmerli@apache.org>
Co-authored-by: Matteo Merli <mmerli@apache.org>
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
### Motivation The orderedExecutor number is hard code to 8 when pulsar service start, it should be configurable in broker.conf. ``` orderedExecutor = OrderedExecutor.newBuilder().numThreads(8).name("pulsar-ordered") ``` ### Changes make the orderedExecutor threads number configurable in broker.conf
### Motivation The orderedExecutor number is hard code to 8 when pulsar service start, it should be configurable in broker.conf. ``` orderedExecutor = OrderedExecutor.newBuilder().numThreads(8).name("pulsar-ordered") ``` ### Changes make the orderedExecutor threads number configurable in broker.conf
### Motivation The orderedExecutor number is hard code to 8 when pulsar service start, it should be configurable in broker.conf. ``` orderedExecutor = OrderedExecutor.newBuilder().numThreads(8).name("pulsar-ordered") ``` ### Changes make the orderedExecutor threads number configurable in broker.conf
### Motivation The orderedExecutor number is hard code to 8 when pulsar service start, it should be configurable in broker.conf. ``` orderedExecutor = OrderedExecutor.newBuilder().numThreads(8).name("pulsar-ordered") ``` ### Changes make the orderedExecutor threads number configurable in broker.conf
Motivation
The orderedExecutor number is hard code to 8 when pulsar service start, it should be configurable in broker.conf.
Changes
make the orderedExecutor threads number configurable in broker.conf