eolivelli commented on code in PR #17686:
URL: https://github.com/apache/pulsar/pull/17686#discussion_r972935839


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractBaseDispatcher.java:
##########
@@ -220,6 +229,11 @@ public int 
filterEntriesForConsumer(Optional<MessageMetadata[]> optMetadataArray
 
         }
 
+        if (serviceConfig.isDispatchThrottlingForFilteredEntriesEnabled()) {

Review Comment:
   one side effect of putting this here is that this affects the 
"analize-backlog" command.
   also, we are blocking the dispatch thread.
   the users will probably have to tune 
`numWorkerThreadsForNonPersistentTopic`, because the subscription dispatch 
threads will have some idle time due to this throttling
   
   @MMirelli @michaeljmarshall @lhotari 



-- 
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]

Reply via email to