[
https://issues.apache.org/jira/browse/KAFKA-19220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-19220.
------------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> add tests to ensure the internal configs don't return by public APIs by
> default
> -------------------------------------------------------------------------------
>
> Key: KAFKA-19220
> URL: https://issues.apache.org/jira/browse/KAFKA-19220
> Project: Kafka
> Issue Type: Test
> Reporter: Chia-Ping Tsai
> Assignee: kangning.li
> Priority: Minor
> Fix For: 4.1.0
>
>
> {code:scala}
> def allConfigs(config: AbstractConfig): mutable.Map[String, Any] = {
> config.originals.asScala.filter(_._2 != null) ++
> config.nonInternalValues.asScala
> }
> {code}
> Internal configurations are used for testing purposes and therefore should
> not be exposed by default. They should only be returned by public APIs if
> users explicitly define them.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)