koushikkothagal/spring-boot-microservices-workshop

2 Instances in Eureka server - One is my own local system. why?

ssiva89 opened this issue · 2 comments

Hi ,
i've registered the MovieInfoService as client in Eureka server. i get to see two instances and one of them is my own local system.
i want to know how the Eureka server is taking it as a client.?

Eureka server - 2 instances

Hi, by default a Eureka server is a Eureka client. To avoid this, add the following to your property file :

#Registry settings
eureka:
  client:
    register-with-eureka: false
    fetch-registry: false

Thank you.

hi @viktrine ,

Thank you!!