Comments (4)
@jasonsuzhou Yes, it's by design, but only when the service has one last instance.
It's for preventing the client receive empty subscribe data and thus causing unknown behavior.
If you want to remove the service regardless the number of instances, you have to use HTTP API '/nacos/v1/ns/api/remvDom?dom=$your_service'.
from nacos.
Did you mean that if invoke deregister via java SDK will not actually remove the instance from nacos server when there is only one instance for the service?
And if I remove the service via HTTP API, the cached service file will also removed automatically?
from nacos.
@jasonsuzhou Yes.
from nacos.
thanks
from nacos.
Related Issues (20)
- 配置和服务发现使用不同的namespace HOT 6
- first start HOT 2
- After the service provider passes the nginx proxy port, it reports 400 when accessing through the gateway. HOT 3
- ali HOT 2
- 帮忙:鉴权问题 HOT 2
- Configuration list adds configuration format HOT 5
- Add a description of the project HOT 1
- 服务列表不显示consumer HOT 1
- Namespaces are presented as lists HOT 3
- Question about metadata update HOT 2
- Support config grpc port directly without using offset. HOT 1
- springcloud nacos 1.5.1版本注册时添加鉴权账号密码,报403错误,求解怎么配置 HOT 1
- nacos 2.2 集群扩容后无法从raft member移除 HOT 2
- Nacos 2.4.1 在 JDK 8 中运行正常,在 JDK 17/22 运行异常 HOT 7
- Separate spring cloud starter Alibaba Acos discovery dependencies from the springboot project HOT 1
- 整个nacos控制台,账号无权限的命名空间不显示,即显示有权限的命名空间。如配置管理和服务管理里面的各列表,还有命名空间管理 HOT 4
- 无法启动nacos 2.4.1,可以启动2.4.0 HOT 7
- 单例模式启动, 服务启动报jarft错误“No leader for raft group naming_persistent_service” HOT 5
- 单例模式启动, 服务启动报jarft错误“No leader for raft group naming_persistent_service” HOT 1
- Nacos-client missing accessToken sometime.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nacos.