bharanic-dev commented on a change in pull request #10008:
URL: https://github.com/apache/pulsar/pull/10008#discussion_r601596871
##########
File path:
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
##########
@@ -680,6 +680,26 @@
+ " non-backlog consumers as well.")
private boolean dispatchThrottlingOnNonBacklogConsumerEnabled = false;
+ @FieldContext(
+ category = CATEGORY_POLICIES,
+ doc = "Default policy for publishing usage reports to system topic
is disabled."
+ + "This enables publishing of usage reports"
+ )
+ private boolean resourceUsagePublishToTopic = false;
Review comment:
When PIP-82 was presented in the community meeting, it was suggested
that the mechanism used to exchange the usage information across brokers should
be configurable/pluggable (for instance, one could use a third-party DB or
zookeeper or something else). This config option was added for that purpose.
There will be other configuration that allows the user to configure
resource-groups to manage the quotas. That implementation is still work in
progress and a PR will be raised when it is ready.
--
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:
[email protected]