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

可否增加一个开发模式? #614

Closed
sxcooler opened this issue Jan 2, 2020 · 2 comments
Closed

可否增加一个开发模式? #614

sxcooler opened this issue Jan 2, 2020 · 2 comments

Comments

@sxcooler
Copy link

sxcooler commented Jan 2, 2020

Is your feature request related to a problem? Please describe.
在微服务成为主流的今天,开发人员很难在自己机器启动全套服务,往往会在云上配置一个开发环境,包含全套服务。通过service center,开发人员可以把自己开发机注册到环境中,但由于办公场所内网等问题,往往不能提供服务。

Describe the solution you'd like
希望添加一个类似于“开发模式”的注册方式,让sc不会真的把流量导入到这个开发机的实例。

Describe alternatives you've considered
暂时想不到

Additional context

@little-cui
Copy link
Member

这个问题很有意思,我想应该需要配套你使用的SDK实现,因为service center本身不会做负载均衡,也不存在流量导入问题。另外,我建议你可以通过把开发状态注册到实例信息中,消费时,通过实例的这个状态属性进行判断是否路由

@sxcooler
Copy link
Author

@little-cui 感谢您提供的思路,我之前的想法也欠考虑,打扰了。

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

3 participants