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

volo-thrift是否支持单server多service #381

Open
brian-god opened this issue Mar 6, 2024 · 7 comments
Open

volo-thrift是否支持单server多service #381

brian-god opened this issue Mar 6, 2024 · 7 comments
Labels
C-feature-request This is a feature request issue. Implementations of feature requests use `C-enhancement` instead.

Comments

@brian-god
Copy link

在尝试该volo-thrift未找到单server多service的案例和使用的说明,在Kitex文档中找到了grpc的实现,是否框架不支持

@brian-god
Copy link
Author

因为没有办法把服务分的那么细,然后idl定义的时候又想保证每个都有明确的语义

@PureWhiteWu
Copy link
Member

如果你想要 gRPC 的话,volo-grpc 是支持的;
volo-thrift 的话,可以尝试在 idl 的 service 里面用 extend?

@brian-god
Copy link
Author

如果你想要 gRPC 的话,volo-grpc 是支持的; volo-thrift 的话,可以尝试在 idl 的 service 里面用 extend?

感谢大佬回复,我尝试了定义多个service,在最后使用一个service进行了聚合,但是尝试了一下extends后无法跟多个service
,如果有service过多的话,可能需要多次聚合,有没有好的解决方法
1709778826096

@PureWhiteWu
Copy link
Member

是的,目前来看只能多次聚合,暂时还没支持上 thrift 的多 Service

@brian-god
Copy link
Author

好的,感谢大佬解答,不知道后面有没有支持多service的打算呢

@PureWhiteWu
Copy link
Member

有规划,但是目前来看会是个 break change,优先级相对也比较低~

@brian-god
Copy link
Author

好的感谢大佬,我先采用grpc的方式去做吧

@GuangmingLuo GuangmingLuo added the C-feature-request This is a feature request issue. Implementations of feature requests use `C-enhancement` instead. label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request This is a feature request issue. Implementations of feature requests use `C-enhancement` instead.
Development

No branches or pull requests

3 participants