You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At 21:24:57, the logs indicate that the endpoint was successfully invoked and the heartbeat was removed.
At 21:24:58, the client unexpectedly sent another heartbeat to Nacos. Verification via the Nacos Control Panel confirms that the instance was not actually deregistered.
linqr
changed the title
优雅停机,springcloud调用sericeRegistry.deregister下线,但nacos上未实际下线
call sericeRegistry.deregister下,but nacos don't remove the instance
Feb 14, 2025
linqr
changed the title
call sericeRegistry.deregister下,but nacos don't remove the instance
call sericeRegistry.deregister,but nacos don't remove the instance
Feb 14, 2025
nacos 版本
Server Nacos 2.1.0
client 版本
spring-cloud-starter-alibaba-nacos-discovery-2.1.2.RELEASE.jar
nacos-client-1.2.1.jar
实例类型: 临时实例
应用停止流程
shell调用 调用端点下线,端点内部实际调用代码是
ServiceRegistry serviceRegistry. =SpringUtils.getBean(ServiceRegistry.class);
Regsitraion registration = SpringUtils.getBean(Registration.class);
serviceRegistry.deregister(registration)
客户端日志显示
在21:24:57 显示调用端点成功,已经移除了心跳
21:24:58 又向nacos发送了心跳,检查nacos控制台,实际也未下线。
The text was updated successfully, but these errors were encountered: