clarkwtc commented on code in PR #19070:
URL: https://github.com/apache/kafka/pull/19070#discussion_r1976542126


##########
metadata/src/main/java/org/apache/kafka/controller/ConfigurationControlManager.java:
##########
@@ -339,6 +339,8 @@ private ApiError validateAlterConfig(
                 return DISALLOWED_CLUSTER_MIN_ISR_REMOVAL_ERROR;
             } else if (configRecord.value() == null) {
                 allConfigs.remove(configRecord.name());
+            } else if (configRecord.value().length() > Short.MAX_VALUE) {
+                return DISALLOWED_CONFIG_VALUE_SIZE_ERROR;

Review Comment:
   Thank you for your comment.
   Sure, I’ve added a comment to handle this action.



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to