chia7712 commented on code in PR #24263:
URL: https://github.com/apache/kafka/pull/24263#discussion_r4602066917


##########
core/src/main/scala/kafka/server/metadata/DynamicConfigPublisher.scala:
##########
@@ -58,7 +58,7 @@ class DynamicConfigPublisher(
           val props = newImage.configs().configProperties(resource)
           resource.`type`() match {
             case TOPIC =>
-              
dynamicConfigHandlers.get(ConfigType.TOPIC).foreach(topicConfigHandler =>
+              dynamicConfigHandlers.get(TOPIC).foreach(topicConfigHandler =>

Review Comment:
   It seems some redundant code could be extracted, but I think that can be 
left to https://issues.apache.org/jira/browse/KAFKA-18709 which is going to 
rewrite this class in Java :)



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