According to the Official Spring Cloud docs, the @EnableDiscoveryClient annotation is not required anymore:
@EnableDiscoveryClient is no longer required. You can put a DiscoveryClient implementation on the classpath to cause the Spring Boot application to register with the service discovery server."
According to the Official Spring Cloud docs, the
@EnableDiscoveryClient
annotation is not required anymore:See: https://docs.spring.io/spring-cloud-commons/reference/4.1/spring-cloud-commons/common-abstractions.html#discovery-client