public class ConfigSet extends Object
Constructor and Description |
---|
ConfigSet(Set<io.confluent.telemetry.config.remote.polling.kubernetes.ConfigSet.ConfigSetEntry> configs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Optional<io.confluent.telemetry.config.remote.v1.RemoteConfiguration> |
getCompatibleConfigVersion(String schemaVersion)
The ConfigMap will hold 1 remote configuration objects for each major API schema
version.
|
int |
hashCode() |
static ConfigSet |
parseConfigYaml(String configs)
We need to provide this convoluted way of parsing configs returned from the ConfigMap because
k8s only allows us to specify ConfigMaps of Map
|
public ConfigSet(Set<io.confluent.telemetry.config.remote.polling.kubernetes.ConfigSet.ConfigSetEntry> configs)
public static ConfigSet parseConfigYaml(String configs) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
public Optional<io.confluent.telemetry.config.remote.v1.RemoteConfiguration> getCompatibleConfigVersion(String schemaVersion)