false));
}
// always enable client identity headers
String ip = instanceInfo == null ? null : instanceInfo.getIPAddr();
EurekaClientIdentity identity = new EurekaClientIdentity(ip);
discoveryApacheClient.addFilter(new EurekaIdentityHeaderFilter(identity));
} catch (Throwable e) {
throw new RuntimeException("Failed to initialize DiscoveryClient!", e);
}