I have one Eureka Server A and two client instances of B(Client3) and C(Client4)
I got logs from Eureka Server, which are as follows :
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) What do they mean? I mean each client appeared twice
b) Renews threshold : 5 , Renews (last min) : 8, why is renew last min is 8 , it should be 4? Since only two client, 2 beats per client per minute
c) When I start 3rd Service D(CLient5), the renew threshold is 6 but not 7, why is that?
d)How does Eureka Peers pass info delta info to each other and when? For Example currently there are two eureka server(peers) and two client(1 instance each). Now when a new client registers, will it send beat to both peers or just one? In one, how does the other peer know?
来源:https://stackoverflow.com/questions/48437752/eureka-renews-threshold-renews-last-min