Chia-Ping Tsai created KAFKA-19220:
--------------------------------------
Summary: 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
{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)