jonatan-ivanov / teahouse

Sample applications to demonstrate Observability concepts
224 stars 72 forks source link

Remove @EnableDiscoveryClient annotation #18

Closed vanam closed 2 months ago

vanam commented 2 months ago

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."

See: https://docs.spring.io/spring-cloud-commons/reference/4.1/spring-cloud-commons/common-abstractions.html#discovery-client

jonatan-ivanov commented 2 months ago

Thank you!