teabot commented on code in PR #412: URL: https://github.com/apache/pulsar-site/pull/412#discussion_r1126227911
########## docs/cookbooks-retention-expiry.md: ########## @@ -214,6 +214,12 @@ 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 + +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: Those are links: https://www.markdownguide.org/basic-syntax/#reference-style-links -- 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]
