Spring Eureka 服务器中的数据中心 属性 是什么意思?
What means datacenter property in Spring Eureka server?
在SpringEureka服务器存在属性"datacenter",设置这个的目的是什么?如果我不是 运行 处于独立模式的服务器,是否需要设置一个?否则,如果我的同龄人有 zone/region,这个 属性 应该有相同的名称来识别他们所在的区域吗?
例如
eureka.datacenter=myname
如此处所述https://github.com/Netflix/eureka/wiki/Configuring-Eureka-in-AWS-Cloud它是 AWS 特定初始化所必需的
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.
在SpringEureka服务器存在属性"datacenter",设置这个的目的是什么?如果我不是 运行 处于独立模式的服务器,是否需要设置一个?否则,如果我的同龄人有 zone/region,这个 属性 应该有相同的名称来识别他们所在的区域吗?
例如
eureka.datacenter=myname
如此处所述https://github.com/Netflix/eureka/wiki/Configuring-Eureka-in-AWS-Cloud它是 AWS 特定初始化所必需的
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.