difference between EnableEurekaClient and EnableDiscoveryClient

There are multiple implementations of "Discovery Service" (eureka, consul, zookeeper).

@EnableDiscoveryClient lives in spring-cloud-commons and picks the implementation on the classpath.  GENERIC

@EnableEurekaClient lives in spring-cloud-netflix and only works for eureka. If eureka is on your classpath, they are effectively the same. SPECIFIC

Comments

Popular posts from this blog

PCF - Cloud Foundry Overview - Starting, Restarting and Restaging applications

அவன் ஏன் கூலியானான்?

தட்டு வண்டியில் காளிக்கோயில் - சிறுகதை