In Spring Eureka server exists the property "datacenter", what is the purpose of setting this? Do I need to set one if I am not running in standalone mode the server? Otherwise if I have zone/region for my peers, this property should have the same name to identify the zone they're?
For example
eureka.datacenter=myname
As described here https://github.com/Netflix/eureka/wiki/Configuring-Eureka-in-AWS-Cloud it's required for AWS specific initialization
In the AWS cloud environment, pass in the java commandline property -Deureka.datacenter=cloud so that the Eureka Client/Server knows to initialize the information specific to AWS cloud.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.