lhotari opened a new issue, #24693:
URL: https://github.com/apache/pulsar/issues/24693

   ### Search before reporting
   
   - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Read release policy
   
   - [x] I understand that [unsupported 
versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions)
 don't get bug fixes. I will attempt to reproduce the issue on a supported 
version of Pulsar client and Pulsar broker.
   
   
   ### User environment
   
   Potentially all released Pulsar versions that include 
org.apache.pulsar.broker.resourcegroup.ResourceGroupService, since 2.8.0 . It 
was part of 
[PIP-82](https://github.com/apache/pulsar/blob/master/pip/pip-82.md).
   
   
   
   ### Issue Description
   
   The documentation for "resourceUsageTransportPublishIntervalInSecs" states: 
"Default interval to publish usage reports if resourceUsagePublishToTopic is 
enabled."
   
   
https://github.com/apache/pulsar/blob/fcd5f9259bd6790832ee8e7eb127d043b7898a1b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java#L1181-L1186
   
   However, the documentation for the configuration setting doesn't make sense 
since the job to iterate all topic stats happens every 60 seconds:
   
   
https://github.com/apache/pulsar/blob/fcd5f9259bd6790832ee8e7eb127d043b7898a1b/pulsar-broker/src/main/java/org/apache/pulsar/broker/resourcegroup/ResourceGroupService.java#L693-L710
   
   
https://github.com/apache/pulsar/blob/fcd5f9259bd6790832ee8e7eb127d043b7898a1b/pulsar-broker/src/main/java/org/apache/pulsar/broker/resourcegroup/ResourceGroupService.java#L542-L550
   
   It would be expected that ResourceGroupService wouldn't perform any 
activities unless it's used and needed.
   
   ### Error messages
   
   ```text
   
   ```
   
   ### Reproducing the issue
   
   See the description above.
   
   ### Additional information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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