jim0987795064 commented on code in PR #20405: URL: https://github.com/apache/kafka/pull/20405#discussion_r2298676949
########## core/src/main/scala/kafka/server/DynamicBrokerConfig.scala: ########## @@ -231,15 +230,15 @@ object DynamicBrokerConfig { if (configRecord.resourceName().isEmpty) { putOrRemoveIfNull(dynamicDefaultConfigs, configRecord.name(), configRecord.value()) } else if (configRecord.resourceName() == config.brokerId.toString) { - putOrRemoveIfNull(dynamicPerBrokerConfigs, configRecord.name(), configRecord.value()) + putOrRemoveIfNull(dynamicDefaultConfigs, configRecord.name(), configRecord.value()) } } } } } val configHandler = new BrokerConfigHandler(config, quotaManagers) - configHandler.processConfigChanges("", dynamicPerBrokerConfigs) - configHandler.processConfigChanges(config.brokerId.toString, dynamicPerBrokerConfigs) + configHandler.processConfigChanges("", dynamicDefaultConfigs) + configHandler.processConfigChanges(config.brokerId.toString, dynamicDefaultConfigs) Review Comment: Thanks for pointing this out. I've corrected the misused dynamicDefaultConfigs and now use dynamicPerBrokerConfigs for broker-scoped updates. -- 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