You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Doyeon Kim (Jira)" <ji...@apache.org> on 2026/09/17 15:31:00 UTC
[jira] [Created] (KAFKA-21116) Validate configuration value size using UTF-8 bytes
Doyeon Kim created KAFKA-21116:
----------------------------------
Summary: Validate configuration value size using UTF-8 bytes
Key: KAFKA-21116
URL: https://issues.apache.org/jira/browse/KAFKA-21116
Project: Kafka
Issue Type: Bug
Reporter: Doyeon Kim
Assignee: Doyeon Kim
ConfigurationControlManager validates ConfigRecord values using String.length(), while ConfigRecord serialization limits values to Short.MAX_VALUE UTF-8 bytes.
As a result, multibyte values can pass validation and later fail during serialization with a RuntimeException instead of INVALID_CONFIG.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)