Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能不能在服务注册时,增加一个bool字段 #21

Closed
Owen-Zhang opened this issue Aug 5, 2020 · 1 comment
Closed

能不能在服务注册时,增加一个bool字段 #21

Owen-Zhang opened this issue Aug 5, 2020 · 1 comment

Comments

@Owen-Zhang
Copy link

出发点大概是这样的

服务注册后,我们自己做的后台port会去查看注册中心(etcd. zookeeper)上的节点数据, 有时会想将某个机器排除在外,不让其它服务调用它,但我们又不能将此节点删除,做一些事情后又要将其恢复正常

我们现在port后台想做一个开关,直接操作etcd.zookeeper,
能不能在rpcx服务调用前,验证一下那个开关,假如是关闭的话就换成另一个服务去调用

不知我说清楚没,希望大哥空了考虑一下

@Owen-Zhang
Copy link
Author

写错地方了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant