divijvaidya commented on code in PR #14073:
URL: https://github.com/apache/kafka/pull/14073#discussion_r1274708620


##########
storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteIndexCache.java:
##########
@@ -148,7 +180,18 @@ public RemoteIndexCache(int maxSize, RemoteStorageManager 
remoteStorageManager,
                     } else {
                         log.error("Received entry as null for key {} when the 
it is removed from the cache.", key);
                     }
-                }).build();
+                })
+                .recordStats()

Review Comment:
   what is the performance/memory penalty of enabling this always? 



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