[ 
https://issues.apache.org/jira/browse/KAFKA-19220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai reassigned KAFKA-19220:
--------------------------------------

    Assignee: kangning.li  (was: Chia-Ping Tsai)

> 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
>
> {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)

Reply via email to