dybyte opened a new pull request, #23502:
URL: https://github.com/apache/kafka/pull/23502

   ### Motivation
   
   ConfigRecord serialization limits string values to `Short.MAX_VALUE` UTF-8 
bytes, but the controller used `String.length()` for validation. Multibyte 
values could therefore pass validation and fail during serialization.
   
   ### Changes
   
   - Validate configuration values using UTF-8 byte length.
   - Test the 32,767/32,768-byte boundary for ASCII, Hangul, and emoji.
   - Verify APPEND validates the final combined value.


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