eureka server#默认自我保护开启#eureka.server.enable-self-preservation=true# 扫描失效服务的间隔时间(单位毫秒,默认是60*1000)即60秒eureka.server.eviction-interval-timer-in-ms=5000#自...
shutdown.shport=8094curl -X POST "http://127.0.0.1:$port/actuator/service-registry?status=DOWN" -H 'content-type: application/vnd.spring-boo...
一般停止服务方式都是先查找端口占用端口,然后kill pid,但是eureka在90s(默认)内不会立即踢出服务actuator提供了接口可进行停止服务操作pom.xml<dependency> <groupId>org.springframework.boot<...