truong-hua commented on issue #15891:
URL: https://github.com/apache/pulsar/issues/15891#issuecomment-1144657607

   > Could you provide some broker logs when this error happens?
   
   Dear @Technoboy- ,
   
   The broker logs has no more information than the exception
   
   ```
   2022-06-02T09:36:44,454+0000 [pulsar-2-2] ERROR 
org.apache.pulsar.broker.admin.impl.PersistentTopicsBase - [null] Failed to 
perform setSubscriptionDispatchRate on topic 
persistent://public/ticdc/inbox_message
   
   
org.apache.pulsar.broker.service.BrokerServiceException$TopicPoliciesCacheNotInitException:
 Topic policies cache have not init.
   
        at 
org.apache.pulsar.broker.service.SystemTopicBasedTopicPoliciesService.getTopicPolicies(SystemTopicBasedTopicPoliciesService.java:207)
 ~[org.apache.pulsar-pulsar-broker-2.10.0.jar:2.10.0]
   
        at 
org.apache.pulsar.broker.service.TopicPoliciesService.lambda$getTopicPoliciesAsyncWithRetry$0(TopicPoliciesService.java:100)
 ~[org.apache.pulsar-pulsar-broker-2.10.0.jar:2.10.0]
   
        at 
org.apache.pulsar.client.util.RetryUtil.executeWithRetry(RetryUtil.java:48) 
~[org.apache.pulsar-pulsar-client-original-2.10.0.jar:2.10.0]
   
        at 
org.apache.pulsar.client.util.RetryUtil.lambda$null$1(RetryUtil.java:57) 
~[org.apache.pulsar-pulsar-client-original-2.10.0.jar:2.10.0]
   
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
   
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
   
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
 [?:?]
   
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
   
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
   
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [io.netty-netty-common-4.1.74.Final.jar:4.1.74.Final]
   
        at java.lang.Thread.run(Thread.java:829) [?:?]
   
   2022-06-02T09:36:44,457+0000 [pulsar-2-2] INFO  
org.eclipse.jetty.server.RequestLog - 10.0.0.134 - - [02/Jun/2022:09:36:29 
+0000] "POST 
/admin/v2/persistent/public/ticdc/inbox_message/subscriptionDispatchRate?authoritative=false
 HTTP/1.1" 500 1277 "-" "curl/7.68.0" 14901
   ```


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