nandini12396 commented on PR #21211:
URL: https://github.com/apache/kafka/pull/21211#issuecomment-3692811775

   Thanks for your comment! Yes, correct - this fixes the aggregate size 
accounting issue when combining multiple smaller fetches across local and 
tiered storage partitions, not the existing single-large-batch case.
   
   > Though I haven't read the implementation yet but `fetch.max.bytes` is a 
soft limit which can anywways be exceeded when a single log batch is of higher 
size than 
[fetch.max.bytes](https://kafka.apache.org/41/configuration/consumer-configs/#consumerconfigs_fetch.max.bytes).
 However, it would be good to fix in other cases where batches are smaller. I 
think the latter is intended in the current PR, correct?
   
   


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