Service registration happens even if there's no Eureka server?

47 views
Skip to first unread message

Saurav

unread,
Mar 23, 2016, 7:30:19 PM3/23/16
to eureka_netflix
I was checking a case where a call to register instance by the below method as specified in Eureka wiki,
DiscoveryManager.getInstance().initComponent(
                new MyDataCenterInstanceConfig(),
                new DefaultEurekaClientConfig());
But even when a Eureka server is not up at the serviceUrl, the registration doesn't throw an error and continues, shouldn't this be an issue?

dl...@netflix.com

unread,
Mar 30, 2016, 4:01:01 PM3/30/16
to eureka_netflix
Hi Saurav,

If the client is not able to register and/or query from a remote server, it will throw exceptions and log errors and warnings.
Reply all
Reply to author
Forward
0 new messages