Class DruidService

java.lang.Object
org.apache.druid.discovery.DruidService
Direct Known Subclasses:
DataNodeService, LookupNodeService, WorkerNodeService

public abstract class DruidService extends Object
Metadata of a service announced by node. See DataNodeService and LookupNodeService for examples.
  • Constructor Details

    • DruidService

      public DruidService()
  • Method Details

    • getName

      public abstract String getName()
    • isDiscoverable

      public boolean isDiscoverable()
      Returns:
      Whether the service should be discoverable. The default implementation returns true. Some implementations may choose to override this so that the service is not discoverable if it has not been configured. This will not throw a fatal exception, but instead will just skip binding and log a message. This could be useful for optional configuration for the service.