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


##########
streams/src/test/java/org/apache/kafka/streams/state/internals/HeadersSerializerTest.java:
##########
@@ -30,18 +32,43 @@
 
 public class HeadersSerializerTest {
 
+    @Test
+    public void test() {

Review Comment:
   Wow, 500 million iterations!



##########
streams/src/main/java/org/apache/kafka/streams/state/internals/HeadersSerializer.java:
##########
@@ -48,50 +45,91 @@
  */
 class HeadersSerializer {
 
+    final static class PreSerializedHeaders {
+        final int requiredBufferSizeForHeaders;
+        final byte[][] rawHeaderKeys;
+        final byte[][] rawHeaderValues;
+
+        PreSerializedHeaders(
+            final int requiredBufferSizeForHeaders,
+            final byte[][] rawHeaderKeys,
+            final byte[][] rawHeaderValued

Review Comment:
   `rawHeaderValues`?



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