MarvinCai commented on a change in pull request #11509:
URL: https://github.com/apache/pulsar/pull/11509#discussion_r683546186
##########
File path:
pulsar-client-admin-api/src/main/java/org/apache/pulsar/common/policies/data/impl/BacklogQuotaImpl.java
##########
@@ -37,7 +38,7 @@ public static BacklogQuotaImplBuilder builder() {
}
public static class BacklogQuotaImplBuilder implements
BacklogQuota.Builder {
- private long limitSize;
+ private long limitSize = -1 * 1024 * 1024 * 1024;
Review comment:
actually as long as it's negative, it doesn't really matter, but just
want to keep it consistent with existing default value:
https://github.com/apache/pulsar/blob/27dcb0a6febd0d88438e18fae72aad8ee38c0738/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BacklogQuotaManager.java#L57
--
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]