【发布时间】:2018-07-04 09:35:43
【问题描述】:
我有一个 Eureka Server A 和两个客户端实例 B(Client3) 和 C(Client4)
我从Eureka Server得到了日志,如下:
2018-01-25 12:56:27.828 INFO 7145 --- [nio-8765-exec-2] c.n.e.registry.AbstractInstanceRegistry : Registered instance CLIENT3/client3:bb488bb73fd313321e393915f746bfe5 with status UP (replication=false)
2018-01-25 12:56:28.417 INFO 7145 --- [nio-8765-exec-3] c.n.e.registry.AbstractInstanceRegistry : Registered instance CLIENT3/client3:bb488bb73fd313321e393915f746bfe5 with status UP (replication=true)
2018-01-25 12:56:33.028 INFO 7145 --- [nio-8765-exec-3] c.n.e.registry.AbstractInstanceRegistry : Registered instance CLIENT4/client4:9fcbf4ed26162ee12c4c4b85774c39b1 with status UP (replication=false)
2018-01-25 12:56:33.542 INFO 7145 --- [nio-8765-exec-8] c.n.e.registry.AbstractInstanceRegistry : Registered instance CLIENT4/client4:9fcbf4ed26162ee12c4c4b85774c39b1 with status UP (replication=true)
a) 它们是什么意思?我的意思是每个客户出现两次
b) Renews threshold : 5 , Renews (last min) : 8, 为什么 renew last min 是 8 ,应该是 4?由于只有两个客户端,每个客户端每分钟 2 次心跳
c) 当我启动 3rd Service D(CLient5) 时,renew threshold 是 6 而不是 7,这是为什么呢?
d) Eureka Peers 如何将信息增量信息传递给彼此以及何时?例如,目前有两个 eureka 服务器(对等)和两个客户端(每个 1 个实例)。现在当一个新客户端注册时,它会向两个对等方发送节拍还是只向一个对等方发送节拍?一方面,其他对等方怎么知道?
【问题讨论】:
标签: spring spring-cloud netflix-eureka spring-cloud-netflix