.getDiscoveryServiceUrls(DiscoveryClient.getZone(myInfo));
List<PeerEurekaNode> replicaNodes = new ArrayList<PeerEurekaNode>();
for (String replicaUrl : replicaUrls) {
if (!isThisMe(replicaUrl)) {
logger.info("Adding replica node: " + replicaUrl);
replicaNodes.add(new PeerEurekaNode(replicaUrl));
}
}
if (replicaNodes.isEmpty()) {
logger.warn("The replica size seems to be empty. Check the route 53 DNS Registry");
return;