Annotation Type EnableEurekaClient


@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface EnableEurekaClient
Convenience annotation for clients to enable Eureka discovery configuration (specifically). Use this (optionally) in case you want discovery and know for sure that it is Eureka you want. All it does is turn on discovery and let the autoconfiguration find the eureka classes if they are available (i.e. you need Eureka on the classpath as well).
Author:
Dave Syer, Spencer Gibb