chia7712 commented on code in PR #21416:
URL: https://github.com/apache/kafka/pull/21416#discussion_r4331483480
##########
core/src/main/scala/kafka/server/DynamicBrokerConfig.scala:
##########
@@ -158,6 +158,7 @@ class DynamicBrokerConfig(private val kafkaConfig:
KafkaConfig) extends Logging
private var currentConfig: KafkaConfig = _
private[server] def initialize(clientTelemetryExporterPluginOpt:
Option[ClientTelemetryExporterPlugin]): Unit = {
+
KafkaConfig.warnIfDynamicOnlyBrokerQuotaConfigsInStaticConfig(staticBrokerConfigs.asJava)
Review Comment:
Could we log the warnings only if the role is `BROKER`?
--
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]