cmccabe commented on code in PR #12063: URL: https://github.com/apache/kafka/pull/12063#discussion_r853300475
########## core/src/main/scala/kafka/server/metadata/BrokerMetadataPublisher.scala: ########## @@ -187,21 +189,26 @@ class BrokerMetadataPublisher(conf: KafkaConfig, toLoggableProps(resource, props).mkString(",")) dynamicConfigHandlers(ConfigType.Topic). processConfigChanges(resource.name(), props) - conf.dynamicConfig.reloadUpdatedFilesWithoutConfigChange(props) - case BROKER => if (resource.name().isEmpty) { - // Apply changes to "cluster configs" (also known as default BROKER configs). - // These are stored in KRaft with an empty name field. - info(s"Updating cluster configuration : " + - toLoggableProps(resource, props).mkString(",")) - dynamicConfigHandlers(ConfigType.Broker). - processConfigChanges(ConfigEntityName.Default, props) - } else if (resource.name().equals(brokerId.toString)) { - // Apply changes to this broker's dynamic configuration. - info(s"Updating broker ${brokerId} with new configuration : " + - toLoggableProps(resource, props).mkString(",")) - dynamicConfigHandlers(ConfigType.Broker). - processConfigChanges(resource.name(), props) - } + case BROKER => + if (resource.name().isEmpty) { + // Apply changes to "cluster configs" (also known as default BROKER configs). + // These are stored in KRaft with an empty name field. + info(s"Updating cluster configuration : " + + toLoggableProps(resource, props).mkString(",")) + dynamicConfigHandlers(ConfigType.Broker). + processConfigChanges(ConfigEntityName.Default, props) + } else if (resource.name().equals(brokerId.toString)) { Review Comment: OK, I will change it to == here to make it more idiomatic Scala code. -- 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