Comments (4)
一个 service 可以有多少方法,这里注册多个service的诉求是?
内部针对生成代码较多的case,提供了服务拆分支持,可以支持多个idl service,但是通过生成代码支持的,实际注册的还是一个https://www.cloudwego.io/zh/docs/tutorials/code-gen/combine_service/
from kitex.
我们一个项目中的idl 统一维护一个仓库,由不同模块人员维护。 这就不能保证我使用模块的方法都来自一个service,所以发出这个issue,combine_service 可以为每个service生成代码,我不能把每个service代码都集中注册到一个server当中然后run。
from kitex.
我们一个项目中的idl 统一维护一个仓库,由不同模块人员维护。 这就不能保证我使用模块的方法都来自一个service,所以发出这个issue,combine_service 可以为每个service生成代码,我不能把每个service代码都集中注册到一个server当中然后run。
combine_service 可以把多个idl service合并成一个"combine_service",这个"combine_service"会被注册到server,不知道这样可否解决您的问题呢?
通常来说一个idl service对应到一个服务,您这边一个idl service也会有不同的服务吗?
from kitex.
谢谢耐心解答,这个是我们服务管理的问题。
from kitex.
Related Issues (20)
- 负载均衡策略中的一致性哈希策略存在无法感知已摘除的下游列表问题 HOT 7
- grpc服务参照Middleware 扩展例子不能打印Request/Reponse内容 HOT 3
- server client WithErrorHandler invalid HOT 6
- Implement GRPC GenericStreamClient HOT 1
- grpc multiple services如何注册所有service? HOT 5
- 每个泛化调用的service都需要IDL吗? HOT 2
- 其它的log日志都有Field操作,klog没有封装,导致用起来很不方便,还要使用底层的比如logrus.Field HOT 10
- kitex服务端升级版本后,客户端没升级,导致客户端调用报错 HOT 4
- kitex服务发现切换后会有使用close链接或者io timeout的表现 HOT 1
- Proposal:CloudWeGo 统一可观测性套件 HOT 1
- 协议是否兼容apche thrift HOT 1
- 为啥我在服务端获取不到caller的值,监控上报caller的值也都是为unknown HOT 2
- proto中的stream函数造成全部metainfo获取失效 HOT 1
- Request help: develop a tool to migrate from gRPC to Kitex HOT 2
- module github.com/cloudwego/kitex@latest found (v0.8.0), but does not contain package github.com/cloudwego/kitex/client/callopt/streamcall HOT 4
- svrTransHandler.OnError will be called twice when some error occured in svrTransHandler.OnRead HOT 3
- 如何通过公网访问到微服务 HOT 4
- 用在etcd中注册发现服务,服务能成功访问,却出现KITEX: processing request error, remoteService=, HOT 16
- 关于使用kitex业务自定义异常转http一些疑问
- Multiple Services 在启用 Connection Multiplexing 的情况下不能正常工作 HOT 7
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 kitex.