Class ConfigData
java.lang.Object
org.apache.kafka.common.config.ConfigData
Configuration data from a
ConfigProvider.Constructor Summary
ConstructorsConstructorDescriptionConfigData(Map<String, String> data) Creates a new ConfigData with the given data.ConfigData(Map<String, String> data, Long ttl) Creates a new ConfigData with the given data and TTL (in milliseconds).Method Summary
Constructor Details
ConfigData
ConfigData
Method Details
data
ttl
Returns the TTL (in milliseconds).- Returns:
- ttl the time-to-live (in milliseconds) of the data, or null if there is no TTL