Class DruidServerConfig

java.lang.Object
org.apache.druid.client.DruidServerConfig

public class DruidServerConfig extends Object
  • Constructor Details

  • Method Details

    • getMaxSize

      public long getMaxSize()
      The maximum size in bytes a data node advertises itself as having available to serve data. If not set explicitly, this value is computed. By default this value is computed using SegmentLoaderConfig.getCombinedMaxSize() which is the total physical capacity of the segment storage locations. If the data node is using virtual storage mode, the default is instead computed based on an assumption that ~1G of heap is "plenty" to be able to serve ~50k segments, using ~300M segment size as the conversion to storage space translates to ~15T of segments per 1G of heap
    • getStorageSize

      public long getStorageSize()
      Physical size of the storage locations configured for this server. This value is always computed using SegmentLoaderConfig.getCombinedMaxSize(), and may differ from getMaxSize() since the latter can be explicitly set via config, or computed to some very large value when SegmentLoaderConfig.isVirtualStorage() is true.
    • getTier

      public String getTier()
    • getPriority

      public int getPriority()
    • getHiddenProperties

      public Set<String> getHiddenProperties()