asafm commented on code in PR #21816:
URL: https://github.com/apache/pulsar/pull/21816#discussion_r1437996771


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Topic.java:
##########
@@ -243,6 +243,13 @@ CompletableFuture<Void> close(
 
     BacklogQuota getBacklogQuota(BacklogQuotaType backlogQuotaType);
 
+    /**
+     * Uses the best-effort (not necessarily up-to-date) information available 
to return the age.
+     * @return The oldest unacknowledged message age in seconds, or -1 if not 
available
+     */
+    long getBestEffortOldestUnacknowledgedMessageAgeSeconds();

Review Comment:
   It's memory allocation I presume 



-- 
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-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to