Package io.camunda.zeebe.dynamic.config
Class ExporterStateInitializer
java.lang.Object
io.camunda.zeebe.dynamic.config.ExporterStateInitializer
- All Implemented Interfaces:
ClusterConfigurationModifier
Updates the exporter state of the local member in the configuration. If a broker restarts with a
changes of exporters in the static configuration, this modifier updates the dynamic config to
reflect that. If new exporter are added to the static configuration, they are added to the
dynamic config with state ENABLED. If existing exporters are removed, they are marked as
disabled. Note that the exporters are not removed from the dynamic config.
-
Constructor Summary
ConstructorsConstructorDescriptionExporterStateInitializer(Set<String> configuredExporters, MemberId localMemberId, ConcurrencyControl executor) -
Method Summary
Modifier and TypeMethodDescriptionmodify(ClusterConfiguration configuration) Modifies the given configuration and returns the modified configuration.
-
Constructor Details
-
ExporterStateInitializer
public ExporterStateInitializer(Set<String> configuredExporters, MemberId localMemberId, ConcurrencyControl executor)
-
-
Method Details
-
modify
Description copied from interface:ClusterConfigurationModifierModifies the given configuration and returns the modified configuration.- Specified by:
modifyin interfaceClusterConfigurationModifier- Parameters:
configuration- current configuration- Returns:
- modified configuration
-