@ EnableDiscoveryClient lives in spring-cloud-commons and picks the implementation on the classpath. @ EnableEurekaClient lives in spring-cloud-netflix and only works for eureka. If eureka is on your classpath, they are effectively the same.
12/4/2014 ·