YoungHu opened a new issue, #9986:
URL: https://github.com/apache/dubbo/issues/9986

   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   - [x] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   
   ## Ask your question here
   As we know, `offline` command can unregister provider from register center. 
it work fine in `interface` mode, but when I setting register-mode to 
`instance`, i can see provider application name register to nacos as service 
name, but `offline` command dose not work(is work when register-mode is 
`interface`). is also no work with `offlineApp` command. so below is my two 
questions:
   1. what offlineApp command means and what function does it provide?
   2. which QOS command can unregister provider with `instance` register-mode?
   
   PS: I made a extension name `offlineMetadata` which like `publishMetadata` 
command, just change 
`ServiceInstanceMetadataUtils.refreshMetadataAndInstance(applicationModel)` to 
`ServiceInstanceMetadataUtils.unregisterMetadataAndInstance(applicationModel)` 
, and find it work to unregister application from register center.


-- 
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