Package org.apache.druid.discovery
Class DruidService
java.lang.Object
org.apache.druid.discovery.DruidService
- Direct Known Subclasses:
DataNodeService,LookupNodeService,WorkerNodeService
Metadata of a service announced by node. See DataNodeService and LookupNodeService for examples.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DruidService
public DruidService()
-
-
Method Details
-
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.
-