[ https://issues.apache.org/jira/browse/KAFKA-19220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948434#comment-17948434 ]
kangning.li commented on KAFKA-19220: ------------------------------------- [~chia7712] I am insteresd in this issue, cloud you assign it to me? > 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: Chia-Ping Tsai > Priority: Minor > > {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)