Package org.apache.kafka.common.config
Class ConfigTransformerResult
java.lang.Object
org.apache.kafka.common.config.ConfigTransformerResult
The result of a transformation from
ConfigTransformer
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ConfigTransformerResult
Creates a new ConfigTransformerResult with the given data and TTL values for a set of paths.- Parameters:
data
- a Map of key-value pairsttls
- a Map of path and TTL values (in milliseconds)
-
-
Method Details
-
data
Returns the transformed data, with variables replaced with corresponding values from the ConfigProvider instances if found.Modifying the transformed data that is returned does not affect the
ConfigProvider
nor the original data that was used as the source of the transformation.- Returns:
- data a Map of key-value pairs
-
ttls
Returns the TTL values (in milliseconds) returned from the ConfigProvider instances for a given set of paths.- Returns:
- data a Map of path and TTL values
-