@EventListener(ContextClosedEvent.class)
	public void onContextClosedEvent(ContextClosedEvent event) {
		stop();
		NacosDiscoveryProperties configuration = (NacosDiscoveryProperties) getConfiguration();
		Integer gracefulShutdownWaitTime = configuration.getGracefulShutdownWaitTime();
		ThreadUtils.sleep(gracefulShutdownWaitTime);
	}
@author xiaojing
@author <a href="mailto:mercyblitz@gmail.com">Mercy</a>
spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/main/java/com/alibaba/cloud/nacos/registry/NacosAutoServiceRegistration.java