chia7712 opened a new pull request #9284: URL: https://github.com/apache/kafka/pull/9284
```scala def immutableListenerConfigs(kafkaConfig: KafkaConfig, prefix: String): Map[String, AnyRef] = { newConfig.originals.asScala.filter { case (key, _) => key.startsWith(prefix) && !DynamicSecurityConfigs.contains(key) } } ``` We don't actually compare new configs to origin configs so the suitable exception is not thrown. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org