cmccabe commented on code in PR #12063: URL: https://github.com/apache/kafka/pull/12063#discussion_r852488861
########## 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: Hmm, do we need to do it that way? `equals` seems clearer since it means the same thing in Java. If you really feel like it's non-idiomatic then I can change... -- 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