<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->

- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: 3.1.0
* Operating System version:  k8s deployment
* Java version: java 11
* nacos client version: 2.1.0

### Steps to reproduce this issue

1. xxx
2. xxx
3. xxx

Pls. provide [GitHub address] to reproduce this issue.

### Expected Behavior

<!-- What do you expect from the above steps？-->

no exception

### Actual Behavior

<!-- What actually happens? -->

If there is an exception, please attach the exception trace:

```
2022-09-13 15:54:25.438 [Thread-6] WARN  c.a.nacos.common.notify.NotifyCenter -[NotifyCenter] Start destroying Publisher
2022-09-13 15:54:25.438 [DubboShutdownHook] INFO  o.a.dubbo.config.DubboShutdownHook - [DUBBO] Run shutdown hook now., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.440 [DubboShutdownHook] INFO  o.a.dubbo.rpc.model.FrameworkModel - [DUBBO] Reset global default application from Dubbo Application[1.1](xxxx-service) to null, dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.441 [DubboShutdownHook] INFO  o.a.d.c.d.DefaultApplicationDeployer - [DUBBO] Dubbo Application[1.1](xxxx-service) is stopping., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.441 [Thread-6] WARN  c.a.nacos.common.notify.NotifyCenter -[NotifyCenter] Destruction of the end
2022-09-13 15:54:25.438 [Thread-1] WARN  c.a.n.c.http.HttpClientBeanHolder -[HttpClientBeanHolder] Start destroying common HttpClient
2022-09-13 15:54:25.449 [Thread-1] WARN  c.a.n.c.http.HttpClientBeanHolder -[HttpClientBeanHolder] Destruction of the end
2022-09-13 15:54:25.453 [SpringApplicationShutdownHook] INFO  o.a.d.c.deploy.DefaultModuleDeployer - [DUBBO] Dubbo Module[1.1.1] is stopping., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.472 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
2022-09-13 15:54:25.473 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
2022-09-13 15:54:25.473 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
2022-09-13 15:54:25.474 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
2022-09-13 15:54:25.474 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
2022-09-13 15:54:25.474 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
2022-09-13 15:54:25.641 [SpringApplicationShutdownHook] INFO  o.a.d.r.t.netty4.NettyChannel - [DUBBO] Close netty channel [id: 0xe90bc770, L:/172.20.3.248:37470 - R:/172.20.3.220:20880], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.654 [NettyClientWorker-9-2] INFO  o.a.d.r.t.netty4.NettyClientHandler - [DUBBO] The connection of /172.20.3.248:37470 -> /172.20.3.220:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.659 [SpringApplicationShutdownHook] INFO  o.a.d.r.t.netty4.NettyChannel - [DUBBO] Close netty channel [id: 0xe2f97ad0, L:/172.20.3.248:43080 - R:/172.20.3.225:20880], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.661 [NettyClientWorker-9-2] INFO  o.a.d.r.t.netty4.NettyClientHandler - [DUBBO] The connection of /172.20.3.248:43080 -> /172.20.3.225:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.662 [SpringApplicationShutdownHook] INFO  o.a.d.r.t.netty4.NettyChannel - [DUBBO] Close netty channel [id: 0x8027b6f2, L:/172.20.3.248:35420 - R:/172.20.3.249:20880], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.668 [SpringApplicationShutdownHook] INFO  o.a.d.r.t.netty4.NettyChannel - [DUBBO] Close netty channel [id: 0x269c2409, L:/172.20.3.248:58640 - R:/172.20.3.221:20880], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.669 [SpringApplicationShutdownHook] INFO  o.a.d.r.t.netty4.NettyChannel - [DUBBO] Close netty channel [id: 0x46a85032, L:/172.20.3.248:56480 - R:/172.20.3.226:20880], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.664 [NettyClientWorker-9-2] INFO  o.a.d.r.t.netty4.NettyClientHandler - [DUBBO] The connection of /172.20.3.248:35420 -> /172.20.3.249:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.673 [SpringApplicationShutdownHook] INFO  o.a.d.r.t.netty4.NettyChannel - [DUBBO] Close netty channel [id: 0xc19c8499, L:/172.20.3.248:54276 - R:/172.20.4.206:20880], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.673 [NettyClientWorker-9-2] INFO  o.a.d.r.t.netty4.NettyClientHandler - [DUBBO] The connection of /172.20.3.248:58640 -> /172.20.3.221:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.674 [NettyClientWorker-9-2] INFO  o.a.d.r.t.netty4.NettyClientHandler - [DUBBO] The connection of /172.20.3.248:56480 -> /172.20.3.226:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.675 [NettyClientWorker-9-2] INFO  o.a.d.r.t.netty4.NettyClientHandler - [DUBBO] The connection of /172.20.3.248:54276 -> /172.20.4.206:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.678 [SpringApplicationShutdownHook] INFO  o.a.d.r.t.netty4.NettyChannel - [DUBBO] Close netty channel [id: 0xef700f41, L:/172.20.3.248:60968 - R:/172.20.5.131:20880], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.680 [NettyClientWorker-9-2] INFO  o.a.d.r.t.netty4.NettyClientHandler - [DUBBO] The connection of /172.20.3.248:60968 -> /172.20.5.131:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.684 [SpringApplicationShutdownHook] INFO  o.a.d.c.deploy.DefaultModuleDeployer - [DUBBO] Dubbo Module[1.1.1] has stopped., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.686 [SpringApplicationShutdownHook] INFO  o.a.d.c.s.c.DubboSpringInitializer - [DUBBO] Unbind Dubbo Module[1.1.1] from spring container: org.springframework.beans.factory.support.DefaultListableBeanFactory@35ec9d29, dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.779 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
2022-09-13 15:54:25.780 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
2022-09-13 15:54:25.780 [DubboShutdownHook] WARN  com.alibaba.nacos.client.naming -[NamingHttpClientManager] Start destroying NacosRestTemplate
2022-09-13 15:54:25.780 [DubboShutdownHook] WARN  com.alibaba.nacos.client.naming -[NamingHttpClientManager] Destruction of the end
2022-09-13 15:54:25.780 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
2022-09-13 15:54:25.780 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
2022-09-13 15:54:25.780 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
2022-09-13 15:54:25.780 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop
2022-09-13 15:54:25.780 [DubboShutdownHook] WARN  com.alibaba.nacos.client.naming -[NamingHttpClientManager] Start destroying NacosRestTemplate
2022-09-13 15:54:25.780 [DubboShutdownHook] WARN  com.alibaba.nacos.client.naming -[NamingHttpClientManager] Destruction of the end
2022-09-13 15:54:25.780 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
2022-09-13 15:54:25.780 [DubboShutdownHook] INFO  c.alibaba.nacos.common.remote.client -Shutdown rpc client, set status to shutdown
2022-09-13 15:54:25.781 [DubboShutdownHook] INFO  c.alibaba.nacos.common.remote.client -Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@5af65df2[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2022-09-13 15:54:25.781 [DubboShutdownHook] INFO  c.alibaba.nacos.common.remote.client -Close current connection 1663053660071_192.168.1.242_1469
2022-09-13 15:54:25.846 [nacos-grpc-client-executor-192.168.1.236-121] INFO  c.a.n.c.r.client.grpc.GrpcClient -[1663053660071_192.168.1.242_1469]Ignore complete event,isRunning:false,isAbandon=false
2022-09-13 15:54:25.851 [DubboShutdownHook] INFO  c.a.n.c.r.client.grpc.GrpcClient -Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@3a9185da[Running, pool size = 2, active threads = 0, queued tasks = 0, completed tasks = 968]
2022-09-13 15:54:25.851 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@25d8fe68[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 668]
2022-09-13 15:54:25.852 [DubboShutdownHook] INFO  c.a.n.c.a.r.i.CredentialWatcher -[xxxx-service] CredentialWatcher is stopped
2022-09-13 15:54:25.855 [DubboShutdownHook] INFO  c.a.n.c.a.r.i.CredentialService -[xxxx-service] CredentialService is freed
2022-09-13 15:54:25.858 [DubboShutdownHook] INFO  com.alibaba.nacos.client.naming -com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
2022-09-13 15:54:25.859 [DubboShutdownHook] INFO  o.a.d.r.c.e.l.ServiceInstancesChangedListener - [DUBBO] Destroying instance listener of  [auth-service], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:25.965 [DubboShutdownHook] ERROR c.alibaba.nacos.common.remote.client -Send request fail, request = SubscribeServiceRequest{headers={accessToken=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2dwYXlkZXYiLCJleHAiOjE2NjMwNzE2NTl9._YxAZ11q3VG_lBvmcLIN_VOqZsnazWRw3nSJWTHTXgE, app=xxxx-service}, requestId='null'}, retryTimes = 0, errorMessage = Client not connected, current status:SHUTDOWN
2022-09-13 15:54:26.070 [DubboShutdownHook] ERROR c.alibaba.nacos.common.remote.client -Send request fail, request = SubscribeServiceRequest{headers={accessToken=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2dwYXlkZXYiLCJleHAiOjE2NjMwNzE2NTl9._YxAZ11q3VG_lBvmcLIN_VOqZsnazWRw3nSJWTHTXgE, app=xxxx-service}, requestId='null'}, retryTimes = 1, errorMessage = Client not connected, current status:SHUTDOWN
2022-09-13 15:54:26.177 [DubboShutdownHook] ERROR c.alibaba.nacos.common.remote.client -Send request fail, request = SubscribeServiceRequest{headers={accessToken=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2dwYXlkZXYiLCJleHAiOjE2NjMwNzE2NTl9._YxAZ11q3VG_lBvmcLIN_VOqZsnazWRw3nSJWTHTXgE, app=xxxx-service}, requestId='null'}, retryTimes = 2, errorMessage = Client not connected, current status:SHUTDOWN
2022-09-13 15:54:26.179 [DubboShutdownHook] ERROR o.a.d.r.nacos.NacosServiceDiscovery - [DUBBO] remove nacos service instances changed listener fail , dubbo version: 3.1.0, current host: 172.20.3.248
com.alibaba.nacos.api.exception.NacosException: Request nacos server failed: 
	at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:288)
	at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.doUnsubscribe(NamingGrpcClientProxy.java:259)
	at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.unsubscribe(NamingGrpcClientProxy.java:240)
	at com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.unsubscribe(NamingClientProxyDelegate.java:157)
	at com.alibaba.nacos.client.naming.NacosNamingService.unsubscribe(NacosNamingService.java:417)
	at com.alibaba.nacos.client.naming.NacosNamingService.unsubscribe(NacosNamingService.java:403)
	at org.apache.dubbo.registry.nacos.NacosNamingServiceWrapper.unsubscribe(NacosNamingServiceWrapper.java:51)
	at org.apache.dubbo.registry.nacos.NacosServiceDiscovery.removeServiceInstancesChangedListener(NacosServiceDiscovery.java:152)
	at org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.destroy(ServiceInstancesChangedListener.java:442)
	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.destroy(ServiceDiscoveryRegistry.java:287)
	at org.apache.dubbo.registry.support.RegistryManager.destroyAll(RegistryManager.java:105)
	at org.apache.dubbo.config.deploy.DefaultApplicationDeployer.destroyRegistries(DefaultApplicationDeployer.java:1019)
	at org.apache.dubbo.config.deploy.DefaultApplicationDeployer.preDestroy(DefaultApplicationDeployer.java:767)
	at org.apache.dubbo.rpc.model.ApplicationModel.onDestroy(ApplicationModel.java:247)
	at org.apache.dubbo.rpc.model.ScopeModel.destroy(ScopeModel.java:113)
	at org.apache.dubbo.config.DubboShutdownHook.doDestroy(DubboShutdownHook.java:78)
	at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:73)
Caused by: com.alibaba.nacos.api.exception.NacosException: Client not connected, current status:SHUTDOWN
	at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:651)
	at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:631)
	at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:278)
	... 16 common frames omitted
2022-09-13 15:54:26.181 [DubboShutdownHook] INFO  o.a.d.r.c.e.l.ServiceInstancesChangedListener - [DUBBO] Destroying instance listener of  [basic-service], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.248 [SpringApplicationShutdownHook] INFO  o.s.b.w.e.undertow.UndertowWebServer -Commencing graceful shutdown. Waiting for active requests to complete
2022-09-13 15:54:26.255 [SpringApplicationShutdownHook] INFO  o.s.b.w.e.undertow.UndertowWebServer -Graceful shutdown complete
2022-09-13 15:54:26.258 [SpringApplicationShutdownHook] INFO  io.undertow -stopping server: Undertow - 2.2.17.Final
2022-09-13 15:54:26.278 [SpringApplicationShutdownHook] INFO  io.undertow.servlet -Destroying Spring FrameworkServlet 'dispatcherServlet'
2022-09-13 15:54:26.281 [DubboShutdownHook] ERROR c.alibaba.nacos.common.remote.client -Send request fail, request = SubscribeServiceRequest{headers={accessToken=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2dwYXlkZXYiLCJleHAiOjE2NjMwNzE2NTl9._YxAZ11q3VG_lBvmcLIN_VOqZsnazWRw3nSJWTHTXgE, app=xxxx-service}, requestId='null'}, retryTimes = 0, errorMessage = Client not connected, current status:SHUTDOWN
2022-09-13 15:54:26.389 [DubboShutdownHook] ERROR c.alibaba.nacos.common.remote.client -Send request fail, request = SubscribeServiceRequest{headers={accessToken=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2dwYXlkZXYiLCJleHAiOjE2NjMwNzE2NTl9._YxAZ11q3VG_lBvmcLIN_VOqZsnazWRw3nSJWTHTXgE, app=xxxx-service}, requestId='null'}, retryTimes = 1, errorMessage = Client not connected, current status:SHUTDOWN
2022-09-13 15:54:26.491 [DubboShutdownHook] ERROR c.alibaba.nacos.common.remote.client -Send request fail, request = SubscribeServiceRequest{headers={accessToken=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2dwYXlkZXYiLCJleHAiOjE2NjMwNzE2NTl9._YxAZ11q3VG_lBvmcLIN_VOqZsnazWRw3nSJWTHTXgE, app=xxxx-service}, requestId='null'}, retryTimes = 2, errorMessage = Client not connected, current status:SHUTDOWN
2022-09-13 15:54:26.494 [DubboShutdownHook] ERROR o.a.d.r.nacos.NacosServiceDiscovery - [DUBBO] remove nacos service instances changed listener fail , dubbo version: 3.1.0, current host: 172.20.3.248
com.alibaba.nacos.api.exception.NacosException: Request nacos server failed: 
	at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:288)
	at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.doUnsubscribe(NamingGrpcClientProxy.java:259)
	at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.unsubscribe(NamingGrpcClientProxy.java:240)
	at com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.unsubscribe(NamingClientProxyDelegate.java:157)
	at com.alibaba.nacos.client.naming.NacosNamingService.unsubscribe(NacosNamingService.java:417)
	at com.alibaba.nacos.client.naming.NacosNamingService.unsubscribe(NacosNamingService.java:403)
	at org.apache.dubbo.registry.nacos.NacosNamingServiceWrapper.unsubscribe(NacosNamingServiceWrapper.java:51)
	at org.apache.dubbo.registry.nacos.NacosServiceDiscovery.removeServiceInstancesChangedListener(NacosServiceDiscovery.java:152)
	at org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.destroy(ServiceInstancesChangedListener.java:442)
	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.destroy(ServiceDiscoveryRegistry.java:287)
	at org.apache.dubbo.registry.support.RegistryManager.destroyAll(RegistryManager.java:105)
	at org.apache.dubbo.config.deploy.DefaultApplicationDeployer.destroyRegistries(DefaultApplicationDeployer.java:1019)
	at org.apache.dubbo.config.deploy.DefaultApplicationDeployer.preDestroy(DefaultApplicationDeployer.java:767)
	at org.apache.dubbo.rpc.model.ApplicationModel.onDestroy(ApplicationModel.java:247)
	at org.apache.dubbo.rpc.model.ScopeModel.destroy(ScopeModel.java:113)
	at org.apache.dubbo.config.DubboShutdownHook.doDestroy(DubboShutdownHook.java:78)
	at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:73)
Caused by: com.alibaba.nacos.api.exception.NacosException: Client not connected, current status:SHUTDOWN
	at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:651)
	at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:631)
	at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:278)
	... 16 common frames omitted
2022-09-13 15:54:26.478 [NettyServerWorker-11-2] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.7.77:42080 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.497 [NettyServerWorker-11-1] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.7.68:51432 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.542 [NettyServerWorker-11-1] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.3.225:52568 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.543 [NettyServerWorker-11-1] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.5.146:44954 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.544 [NettyServerWorker-11-2] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.3.212:36314 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.545 [NettyServerWorker-11-2] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.5.131:46282 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.545 [NettyServerWorker-11-2] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.3.211:58588 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.545 [NettyServerWorker-11-2] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.5.159:53922 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.495 [DubboShutdownHook] INFO  o.a.d.r.c.e.l.ServiceInstancesChangedListener - [DUBBO] Destroying instance listener of  [resource-service], dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.546 [NettyServerWorker-11-1] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.3.247:53458 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.547 [NettyServerWorker-11-1] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.3.245:59598 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.547 [NettyServerWorker-11-1] WARN  o.a.d.r.transport.AbstractServer - [DUBBO] All clients has disconnected from /172.20.3.248:20880. You can graceful shutdown now., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.547 [NettyServerWorker-11-1] INFO  o.a.d.r.t.netty4.NettyServerHandler - [DUBBO] The connection of /172.20.4.10:50878 -> /172.20.3.248:20880 is disconnected., dubbo version: 3.1.0, current host: 172.20.3.248
2022-09-13 15:54:26.646 [DubboShutdownHook] ERROR c.alibaba.nacos.common.remote.client -Send request fail, request = SubscribeServiceRequest{headers={accessToken=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2dwYXlkZXYiLCJleHAiOjE2NjMwNzE2NTl9._YxAZ11q3VG_lBvmcLIN_VOqZsnazWRw3nSJWTHTXgE, app=xxxx-service}, requestId='null'}, retryTimes = 0, errorMessage = Client not connected, current status:SHUTDOWN
2022-09-13 15:54:26.664 [SpringApplicationShutdownHook] INFO  com.zaxxer.hikari.HikariDataSource -HikariPool-1 - Shutdown initiated...
2022-09-13 15:54:26.692 [SpringApplicationShutdownHook] INFO  com.zaxxer.hikari.HikariDataSource -HikariPool-1 - Shutdown completed.
2022-09-13 15:54:26.795 [DubboShutdownHook] ERROR c.alibaba.nacos.common.remote.client -Send request fail, request = SubscribeServiceRequest{headers={accessToken=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2dwYXlkZXYiLCJleHAiOjE2NjMwNzE2NTl9._YxAZ11q3VG_lBvmcLIN_VOqZsnazWRw3nSJWTHTXgE, app=xxxx-service}, requestId='null'}, retryTimes = 1, errorMessage = Client not connected, current status:SHUTDOWN
```

}
                    NacosRegistry.this.notifySubscriber(consumerUrl, serviceName, listener, instances);
                }
            };
        }
        @Override
        public void onEvent(Event event) {
            if (event instanceof NamingEvent) {
                NamingEvent e = (NamingEvent) event;
                notifier.notify(e.getInstances());
            }
        }
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            RegistryChildListenerImpl that = (RegistryChildListenerImpl) o;
            return Objects.equals(serviceName, that.serviceName) && Objects.equals(consumerUrl, that.consumerUrl) && Objects.equals(listener, that.listener);
        }
        @Override
        public int hashCode() {
            return Objects.hash(serviceName, consumerUrl, listener);
        }
    }
}