docs: public static StandaloneLeaderRetrievalService createLeaderRetrievalService(
  			Configuration configuration,
  			boolean resolveInitialHostName,
  			String jobManagerName)
  		throws ConfigurationException, UnknownHostException {
  		Tuple2<String, Integer> hostnamePort = HighAvailabilityServicesUtils.getJobManagerAddress(configuration);
  
  		String jobManagerAkkaUrl = AkkaRpcServiceUtils.getRpcUrl(
  			hostnamePort.f0,
  			hostnamePort.f1,
  			jobManagerName != null ? jobManagerName : JobMaster.JOB_MANAGER_NAME,
  			resolveInitialHostName ? AddressResolution.TRY_ADDRESS_RESOLUTION : AddressResolution.NO_ADDRESS_RESOLUTION,
  			configuration);
  
  		return new StandaloneLeaderRetrievalService(jobManagerAkkaUrl);
  	}