Package io.camunda.zeebe.dynamic.config
Interface ClusterConfigurationModifier
- All Known Implementing Classes:
ExporterStateInitializer,RoutingStateInitializer
public interface ClusterConfigurationModifier
After the configuration is initialized, we can use a
ClusterConfigurationModifier to
update the initialized configuration. This process do not go through the usual process of adding
a ClusterConfigurationChangeOperation to change the
configuration. Instead, overwrites the configuration immediately after it is initialized. Hence,
this should be used carefully.
Ideally, a modifier should only update the configuration of the local member to avoid any concurrent conflicting changes from other members.
-
Method Summary
Modifier and TypeMethodDescriptionmodify(ClusterConfiguration configuration) Modifies the given configuration and returns the modified configuration.
-
Method Details
-
modify
Modifies the given configuration and returns the modified configuration.- Parameters:
configuration- current configuration- Returns:
- modified configuration
-