aashish-confluent opened a new pull request, #24079:
URL: https://github.com/apache/kafka/pull/24079

   Store the null indexes in ListDeserializer in a HashSet instead of an
   ArrayList, so the per-entry null index check in the CONSTANT_SIZE
   strategy does not scan the whole list. Also reject a record whose
   declared number of entries is larger than the remaining bytes can hold
   before reading the entries. Such a record would fail at the end of the
   stream anyway.
   
   Added a unit test in ListDeserializerTest.


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