Class CuratorServiceUtils


  • @Deprecated
    public class CuratorServiceUtils
    extends Object
    Deprecated.
    This class is only used by Deprecated classes.
    • Constructor Detail

      • CuratorServiceUtils

        public CuratorServiceUtils()
        Deprecated.
    • Method Detail

      • makeCanonicalServiceName

        protected static String makeCanonicalServiceName​(String serviceName)
        Deprecated.
        Replacing '/' with ':' in service names makes it easier to provide an HTTP interface using curator-x-discovery-server This method is marked protected because it should never be used outside of the org.apache.druid.curator.discovery package. If you are tempted to use this method anywhere else you are most likely doing something wrong. Mapping the actual service name to the name used within curator should be left to CuratorServiceAnnouncer and ServerDiscoveryFactory
        Parameters:
        serviceName -
        Returns:
        See Also:
        CuratorServiceAnnouncer, ServerDiscoveryFactory