new SpringApplicationBuilder(xxx.class)
// 非 Web 应用
.web(WebApplicationType.NONE)
.run(args);
修改了nacos 里的配制后,触发了 shutdown, 下面是部分日志
[log]-2020-03-25 18:28:26.505 [com.alibaba.nacos.client.Worker.longPolling.fixed-127.0.0.1_8848-yd-payCenter] INFO org.apache.dubbo.spring.boot.context.event.OverrideDubboConfigApplicationListener - Dubbo Config was overridden by externalized configuration {dubbo.application.name=service, dubbo.application.qos-enable=false, dubbo.config.multiple=true}
[log]-2020-03-25 18:28:28.721 [com.alibaba.nacos.client.Worker.longPolling.fixed-127.0.0.1_8848-yd-payCenter] INFO org.apache.dubbo.spring.boot.context.event.AwaitingNonWebApplicationListener - [Dubbo] Current Spring Boot Application is about to shutdown...
[log]-2020-03-25 18:28:28.723 [Thread-43] INFO org.apache.dubbo.registry.support.AbstractRegistryFactory - [DUBBO] Close all registries [nacos://127.0.0.1:8848/org.apache.dubbo.registry.RegistryService?application=service&dubbo=2.0.2&interface=org.apache.dubbo.registry.RegistryService&pid=18644&qos.enable=false&qos.port=22222&release=2.7.4.1×tamp=1585132069474], dubbo version: 2.7.4.1, current host: 192.168.1.88
SCA版本; 2.1.1.RELEASE dubbo版本: 2.7.4.1 nacos版本: 1.1.4 spring boot版本: 2.1.7.RELEASE dubbo 提供者项目,部分配制在nacos中, 没有引入 spring-boot-starter-web 的包, 并以非web方式启动
修改了nacos 里的配制后,触发了 shutdown, 下面是部分日志