You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2020/09/29 19:16:00 UTC
[jira] [Resolved] (KAFKA-10479) Throw exception if users try to
update configs of existent listeners
[ https://issues.apache.org/jira/browse/KAFKA-10479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gustafson resolved KAFKA-10479.
-------------------------------------
Fix Version/s: 2.7.0
Resolution: Fixed
> Throw exception if users try to update configs of existent 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
> Priority: Minor
> Fix For: 2.7.0
>
>
> {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)