You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "teabot (via GitHub)" <gi...@apache.org> on 2023/03/06 10:39:21 UTC
[GitHub] [pulsar-site] teabot commented on a diff in pull request #412: [fix][doc] Describe approximate behavior of time-based quotas
teabot commented on code in PR #412:
URL: https://github.com/apache/pulsar-site/pull/412#discussion_r1126226304
##########
docs/cookbooks-retention-expiry.md:
##########
@@ -214,6 +214,8 @@ Backlog quotas are handled at the namespace level. They can be managed via:
You can set a size and/or time threshold and backlog retention policy for all of the topics in a [namespace](reference-terminology.md#namespace) by specifying the namespace, a size limit and/or a time limit in second, and a policy by name.
+Note that by default, time-based backlogs are enforced periodically using an approximate method. This avoids a potentially costly scan of the backlog each time a message is produced. However, it does mean that in some cases you may observe a lack of strict enforcement. To tune this behavior you should consider using the [`backlogQuotaCheckIntervalInSeconds`][backlogquotacheckintervalinseconds] and [`preciseTimeBasedBacklogQuotaCheck`][precisetimebasedbacklogquotacheck] broker options.
Review Comment:
sure
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org