chia7712 commented on code in PR #20040:
URL: https://github.com/apache/kafka/pull/20040#discussion_r2167643266


##########
coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/CoordinatorRuntime.java:
##########
@@ -627,6 +636,8 @@ private CoordinatorContext(
                 defaultWriteTimeout
             );
             this.bufferSupplier = new BufferSupplier.GrowableBufferSupplier();
+            this.minBufferSize = 512 * 1024; // 512 KB
+            this.maxBatchSize = 1024 * 1024 * 1024; // 1 GB

Review Comment:
   what is magic number? we need to honor the value of maxMessageSize



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to