-
Notifications
You must be signed in to change notification settings - Fork 43
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
请教一些问题 #12
Comments
问题1,多个grpc服务后端话,每个后端是一个conn,然后通过注册其支持的接口, Line 42 in 9238d81
问题2,参见代码注释的链接https://github.com/grpc/grpc/blob/master/doc/naming.md#name-syntax |
我大概知道是怎么回事了, 还有一个问题,grpc每次调用我们的Build方法,就会进行watch一个服务,但是我看grpc是根据schema来区分不同的Resolver,但是我要求可以查询每个不同的服务,请问如果schema相同,Endpoint(即服务)不同会重复调用Build方法吗。
|
1.本例子中是网关是只有一个服务的,但是如果我有多个服务,网关的代码应该如何编写,grpc是如何确定要选择那个路由的。
2.这行代码中的第二个参数为什么是"://authority/",有什么含义吗
The text was updated successfully, but these errors were encountered: