merlimat opened a new pull request #6313: Fixed casting in 
ZooKeeperCache.getDataIfPresent()
URL: https://github.com/apache/pulsar/pull/6313
 
 
   ### Motivation
   
   There was a casting error in `ZooKeeperCache.getDataIfPresent()` which is 
being called when checking the policies for the publish rate limiter. 
   
   This result in the rate limiter to not get applied. The error printed is:
   
   `10:07:50.378 [bookkeeper-ml-workers-OrderedExecutor-1-0] WARN 
org.apache.pulsar.broker.service.AbstractTopic - 
[persistent://public/default/testDelayedMessages-1581070070308] Error getting 
policies java.util.concurrent.CompletableFuture cannot be cast to 
org.apache.pulsar.common.policies.data.Policies and publish throttling will be 
disabled
   `

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to