Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ssiva89 opened this issue Oct 6, 2020 · 2 comments
Closed

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

ssiva89 opened this issue Oct 6, 2020 · 2 comments

Comments

@ssiva89
Copy link

ssiva89 commented Oct 6, 2020

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

@viktrine
Copy link

viktrine commented Oct 7, 2020

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.

@ssiva89
Copy link
Author

ssiva89 commented Oct 7, 2020

hi @viktrine ,

Thank you!!

@ssiva89 ssiva89 closed this as completed Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants