codelipenghui commented on a change in pull request #13481:
URL: https://github.com/apache/pulsar/pull/13481#discussion_r776169414
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -305,6 +307,12 @@ public BrokerService(PulsarService pulsar, EventLoopGroup
eventLoopGroup) throws
.newSingleThreadScheduledExecutor(new
DefaultThreadFactory("pulsar-stats-updater"));
this.authorizationService = new AuthorizationService(
pulsar.getConfiguration(), pulsar().getPulsarResources());
+ if (pulsar.getConfiguration().isTransactionCoordinatorEnabled()) {
Review comment:
We have added a transaction thread pool `transactionReplayExecutor`,
it's better to consider using one thread pool for transaction buffer and
pending ack state.
For example:
Using a unified transaction thread pool.
One topic pinned one thread to handle the transaction buffer operations and
pending ack operations.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]