code: public static List<String> getDiscoveryServiceUrls(EurekaClientConfig clientConfig, String zone, ServiceUrlRandomizer randomizer) {
          boolean shouldUseDns = clientConfig.shouldUseDnsForFetchingServiceUrls();
          if (shouldUseDns) {
              return getServiceUrlsFromDNS(clientConfig, zone, clientConfig.shouldPreferSameZoneEureka(), randomizer);
          }
          return getServiceUrlsFromConfig(clientConfig, zone, clientConfig.shouldPreferSameZoneEureka());
      }
docs: Get the list of all eureka service urls for the eureka client to talk to.
  
  @param clientConfig the clientConfig to use
  @param zone the zone in which the client resides
  @param randomizer a randomizer to randomized returned urls, if loading from dns
  
  @return The list of all eureka service urls for the eureka client to talk to.