DL1231 commented on code in PR #20847:
URL: https://github.com/apache/kafka/pull/20847#discussion_r2570234182
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfig.java:
##########
@@ -708,6 +719,13 @@ public int offsetMetadataMaxSize() {
return offsetMetadataMaxSize;
}
+ /**
+ * The maximum buffer size that the coordinator can cache.
+ */
+ public int appendMaxBufferSize() {
+ return
config.getInt(GroupCoordinatorConfig.APPEND_MAX_BUFFER_SIZE_CONFIG);
Review Comment:
Thanks for pointing this out. I've added code comments to highlight the
potential performance implications of this approach on hot paths.
--
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]