code: public static InetSocketAddress getConnectAddress(ServiceType service,
        AlluxioConfiguration conf) {
      return new InetSocketAddress(getConnectHost(service, conf), getPort(service, conf));
    }
docs: Helper method to get the {@link InetSocketAddress} address for client to communicate with the
  service.
  
  @param service the service name used to connect
  @param conf the configuration to use for looking up the connect address
  @return the service address that a client (typically outside the service machine) uses to
  communicate with service.