Package org.apache.pinot.common.utils
Class ServiceStartableUtils
- java.lang.Object
-
- org.apache.pinot.common.utils.ServiceStartableUtils
-
public class ServiceStartableUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidapplyClusterConfig(PinotConfiguration instanceConfig, String zkAddress, String clusterName, ServiceRole serviceRole)Applies the ZK cluster config to the given instance config if it does not already exist.
-
-
-
Method Detail
-
applyClusterConfig
public static void applyClusterConfig(PinotConfiguration instanceConfig, String zkAddress, String clusterName, ServiceRole serviceRole)
Applies the ZK cluster config to the given instance config if it does not already exist. In the ZK cluster config: - pinot.all.* will be replaced to role specific config, e.g. pinot.controller.* for controllers
-
-