zrlw commented on issue #8895:
URL: https://github.com/apache/dubbo/issues/8895#issuecomment-926999608


   
RegistryDirectory通过父类DynamicDirectory调用的registry.unregister,你的代码是不是没有设置applicationConfig?
   ```
   RegistryConfig registryConfig = new RegistryConfig();
   registryConfig.setAddress("zookeeper://127.0.0.1:2181");
   
   ApplicationConfig applicationConfig = new ApplicationConfig("commuLink");
   applicationConfig.setRegistry(registryConfig);
   
   ReferenceConfig<DemoService> reference = new ReferenceConfig<>();
   reference.setApplication(applicationConfig);  《== 我没有看到你提及这个
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to