Class ExporterConfig
java.lang.Object
org.apache.kafka.common.config.AbstractConfig
io.confluent.telemetry.exporter.ExporterConfig
- Direct Known Subclasses:
HttpExporterConfig,KafkaExporterConfig
public abstract class ExporterConfig
extends org.apache.kafka.common.config.AbstractConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final booleanstatic final Stringstatic final Stringstatic final booleanstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final booleanstatic final Stringstatic final Stringstatic final StringFields inherited from class org.apache.kafka.common.config.AbstractConfig
AUTOMATIC_CONFIG_PROVIDERS_PROPERTY, CONFIG_PROVIDERS_CONFIG, CONFIG_PROVIDERS_DOC -
Constructor Summary
ConstructorsConstructorDescriptionExporterConfig(String name, org.apache.kafka.common.config.ConfigDef definition, Map<?, ?> originals, boolean doLog) -
Method Summary
Modifier and TypeMethodDescriptionGets the exporter specific predicated if the `metrics.include` is set.getName()getType()booleanbooleanbooleanstatic ExporterConfig.ExporterTypereconfigure(Map<String, ?> overrides, Map<String, ClientConfig> clientConfigMap) Return a new ExporterConfig by overriding this config with the provided Map.Methods inherited from class org.apache.kafka.common.config.AbstractConfig
documentationOf, equals, getBoolean, getClass, getConfiguredInstance, getConfiguredInstance, getConfiguredInstances, getConfiguredInstances, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, nonInternalValues, originals, originals, originalsStrings, originalsWithPrefix, originalsWithPrefix, typeOf, unused, values, valuesWithPrefixAllOrNothing, valuesWithPrefixOverride
-
Field Details
-
NAMED_CLIENT_CONFIGURED_DOC_WARNING
- See Also:
-
ENABLED_CONFIG
- See Also:
-
ENABLED_CONFIG_DOC
- See Also:
-
TYPE_CONFIG
- See Also:
-
TYPE_CONFIG_DOC
-
CLIENT_NAME_CONFIG
- See Also:
-
CLIENT_NAME_CONFIG_DOC
- See Also:
-
CLIENT_NAME_CONFIG_DEFAULT
- See Also:
-
METRICS_INCLUDE_CONFIG
- See Also:
-
METRICS_INCLUDE_CONFIG_DOC
- See Also:
-
METRICS_ENABLED_CONFIG
- See Also:
-
METRICS_ENABLED_CONFIG_DOC
- See Also:
-
METRICS_ENABLED_CONFIG_DEFAULT
public static final boolean METRICS_ENABLED_CONFIG_DEFAULT- See Also:
-
EVENTS_ENABLED_CONFIG
- See Also:
-
EVENTS_ENABLED_CONFIG_DOC
- See Also:
-
EVENTS_ENABLED_CONFIG_DEFAULT
public static final boolean EVENTS_ENABLED_CONFIG_DEFAULT- See Also:
-
REMOTE_CONFIGURABLE_CONFIG
- See Also:
-
REMOTE_CONFIGURABLE_CONFIG_DOC
- See Also:
-
REMOTE_CONFIGURABLE_CONFIG_DEFAULT
public static final boolean REMOTE_CONFIGURABLE_CONFIG_DEFAULT- See Also:
-
RECONFIGURABLES
-
-
Constructor Details
-
ExporterConfig
-
-
Method Details
-
parseType
-
getName
-
getType
-
isEnabled
public boolean isEnabled() -
isMetricsEnabled
public boolean isMetricsEnabled() -
isRemoteConfigurable
public boolean isRemoteConfigurable() -
reconfigure
public ExporterConfig reconfigure(Map<String, ?> overrides, Map<String, ClientConfig> clientConfigMap) Return a new ExporterConfig by overriding this config with the provided Map. Properties not present in overrides will be removed from the configuration. -
buildMetricsPredicate
-