akhileshchg commented on code in PR #12109:
URL: https://github.com/apache/kafka/pull/12109#discussion_r875352883


##########
core/src/main/scala/kafka/server/ZkAdminManager.scala:
##########
@@ -158,7 +158,7 @@ class ZkAdminManager(val config: KafkaConfig,
 
         val nullConfigs = topic.configs.asScala.filter(_.value == 
null).map(_.name)
         if (nullConfigs.nonEmpty)
-          throw new InvalidRequestException(s"Null value not supported for 
topic configs : ${nullConfigs.mkString(",")}")
+          throw new ConfigException(s"Null value not supported for topic 
configs: ${nullConfigs.mkString(",")}")

Review Comment:
   I think `InvalidConfigurationException`. 
https://github.com/apache/kafka/blob/f36de0744b915335de6b636e6bd6b5f1276f34f6/core/src/main/scala/kafka/server/ZkAdminManager.scala#L217



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