Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
from https://github.com/apache/kafka/pull/15148#discussion_r1531889679
we can use ByteBufferOutputStream to collect the uncompressed data, and then return the inner buffer directly instead of copying full array.