Skip to content
标签
欢迎扫码关注公众号

注销 Eureka 服务

默认当 Eureka Server 连续 3 次(默认心跳间隔是 30s)没有收到该服务的心跳时,会自动将该实例注销(进入自我保护模式时除外)。
但是也可以通过手动发送 DELETE 请求到 Eureka Server 来注销服务实例。

格式如下:

batch
curl -v -X DELETE http://{Eureka Server 地址}/eureka/apps/{Application 名}/{Eureka 实例的 ID}

Eureka 实例的 ID 可以在 Eureka Server 页面上查看到。

示例:

batch
curl -v -X DELETE http://localhost:9871/eureka/apps/ORDER-SERVICE/LIUJIAJIA.me:ORDER-SERVICE:6001

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.