michaeljmarshall commented on code in PR #12258:
URL: https://github.com/apache/pulsar/pull/12258#discussion_r941735863


##########
conf/standalone.conf:
##########
@@ -752,6 +752,16 @@ managedLedgerAddEntryTimeoutSeconds=0
 # Of course, use a smaller value may degrade consumption throughput. Default 
is 10ms.
 managedLedgerNewEntriesCheckDelayInMillis=10
 
+# Minimum cursors that must be in backlog state to cache and reuse the read 
entries.
+# (Default =0 to disable backlog reach cache)
+managedLedgerMinimumBacklogCursorsForCaching=0
+
+# Minimum backlog entries for any cursor before start caching reads.
+managedLedgerMinimumBacklogEntriesForCaching=100
+
+# Maximum backlog entry difference to prevent caching entries that can't be 
reused.
+managedLedgerMaxBacklogBetweenCursorsForCaching=10000

Review Comment:
   @rdhabalia - was it intentional for the values for two settings to differ 
from the default values set in the `ManagedLedgerConfig` class?



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