Class DataStreamFailureStoreSettings

java.lang.Object
org.elasticsearch.cluster.metadata.DataStreamFailureStoreSettings

public class DataStreamFailureStoreSettings extends Object
Holder for the data stream global settings relating to the data stream failure store. This defines, validates, and monitors the settings.
  • Field Details

    • DATA_STREAM_FAILURE_STORED_ENABLED_SETTING

      public static final Setting<List<String>> DATA_STREAM_FAILURE_STORED_ENABLED_SETTING
  • Method Details

    • create

      public static DataStreamFailureStoreSettings create(ClusterSettings clusterSettings)
      Creates an instance and initialises the cluster settings listeners.
      Parameters:
      clusterSettings - The cluster settings to initialize the instance from and to watch for updates to
    • failureStoreEnabledForDataStreamName

      public boolean failureStoreEnabledForDataStreamName(String name)
      Returns whether the settings indicate that the failure store should be enabled by the cluster settings for the given name.
      Parameters:
      name - The data stream name