I am setting up Eureka for the first time: I have 2 Clients registered with 1 Eureka server. 2 Clients only use the application.yml file, and do not use the configuration
eureka:
instance:
appname: xxx
Now the Eureka Server recognizes 2 Clients with the same name.
If I add an empty application.properties file, Now the Eureka Server recognizes 2 Clients with different names, which are the names I declared in the application.yml file
spring:
application:
name: xxx
Please see the attached image for more information
I'm working around this by adding an empty application.properties file. But it's not pretty.
Comment From: OlgaMaciaszek
Hello @7zism3, thanks for reporting the issue. Please provide a minimal, complete, verifiable example that reproduces the issue.
Comment From: spring-cloud-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-cloud-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.