You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2020/09/14 14:09:00 UTC

[jira] [Updated] (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 ]

Chia-Ping Tsai updated KAFKA-10479:
-----------------------------------
    Summary: Throw exception if users try to update configs of existent listeners  (was: Throw exception if users try to update configs of existing listeners)

> 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
>
> {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)