You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/06/16 06:09:54 UTC

[GitHub] [pulsar] michaeljmarshall commented on issue #10857: A newly created topic metrics do not survive after broker restarts

michaeljmarshall commented on issue #10857:
URL: https://github.com/apache/pulsar/issues/10857#issuecomment-862073310


   > can you confirm config `brokerDeleteInactiveTopicsEnabled` is set to false?
   
   I believe the behavior described is independent of that setting. Topic level metrics are stored in memory, so when a broker restarts, it doesn't have the old metrics. Additionally, the broker might not own that topic any more, and if the topic doesn't have any producers/consumers trying to connect to it, I don't think the topic will be loaded on any broker, which means that it won't be reported in the metrics. (This is my current understanding, but it could be incorrect. I'd have to look at these metrics again to double check.)


-- 
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:
users@infra.apache.org