Spring Eureka: gently shutdown a service
问题 I have service A, that is using services B1 and B2 (two instances of same service), all configured via Eureka. Now I would like to take B1 gently down (so that A has not problems/delays with handling failing B1 requests). I would like to have such a procedure for that: Tell B1 to stop pinging Eureka Make Eureka spread the word, that B1 is going down Wait until A gets the info and does not use B1 anymore Then shutdown B1 I have a problem with step 1. How can I request B1 to stop pinging?