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)

Reply via email to