You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2020/09/14 14:08:00 UTC
[jira] [Created] (KAFKA-10479) Throw exception if users try to
update configs of existing listeners
Chia-Ping Tsai created KAFKA-10479:
--------------------------------------
Summary: Throw exception if users try to update configs of existing listeners
Key: KAFKA-10479
URL: https://issues.apache.org/jira/browse/KAFKA-10479
Project: Kafka
Issue Type: Bug
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
{code}
def immutableListenerConfigs(kafkaConfig: KafkaConfig, prefix: String): Map[String, AnyRef] = {
newConfig.originals.asScala.filter { case (key, _) =>
key.startsWith(prefix) && !DynamicSecurityConfigs.contains(key)
}
}
{code}
We don't actually compare new configs to origin configs so the suitable exception is not thrown.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)