[
https://issues.apache.org/jira/browse/KAFKA-20129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-20129.
------------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
> Server error caused by appending/subtracting a non-existent config key
> ----------------------------------------------------------------------
>
> Key: KAFKA-20129
> URL: https://issues.apache.org/jira/browse/KAFKA-20129
> Project: Kafka
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Lan Ding
> Priority: Minor
> Fix For: 4.3.0
>
>
> {code:java}
> def listType(configName: String, configKeys: Map[String, ConfigKey]):
> Boolean = {
> val configKey = configKeys(configName) // <-- root cause
> if (configKey == null)
> throw new InvalidConfigurationException(s"Unknown config name:
> $configName")
> configKey.`type` == ConfigDef.Type.LIST
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)