Package org.apache.kafka.common.config
Class ConfigData
- java.lang.Object
-
- org.apache.kafka.common.config.ConfigData
-
public class ConfigData extends Object
Configuration data from aConfigProvider
.
-
-
Constructor Summary
Constructors Constructor Description ConfigData(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
data()
Returns the data.Long
ttl()
Returns the TTL (in milliseconds).
-