Comments (3)
SDK 化的使用场景比较特别。最初是为通用网关设计,这种场景下可以拿到已经序列化好的完整请求,但是因为无法监听端口或者无法直接拿到thrift请求等原因,最后通过invoker这种形式来做了支持。然后不太清楚你们的具体场景,如果是想手动构建thrift请求(也就是 SDK 化文档中提到的payload),可以通过我们提供的编解码工具来实现,详见 here
from kitex.
我们是想直接在本地调用 rpc,就好像通过 localhost 调一样
from kitex.
@WingT 如果是同一个进程没必要rpc,同机调用可以选择uds或tcp直连即可。如果你的问题无法生成代码,可以选择泛化调用个,如果是不想生成编解码代码可以使用frugal
from kitex.
Related Issues (20)
- BUG: when handler is a struct will panic during runtime HOT 1
- Proposal: 对接 zookeeper 配置中心 | zookeeper As Config Center HOT 7
- protobuf 以及protobuf插件使用问题 HOT 4
- 如何自定义protobuf生成的json tag格式 HOT 1
- grpc server接受到ctrc+c发送的信号处理问题 HOT 10
- server添加支持多个net.lisnter支持 HOT 8
- Provides an O(1) weighted random algorithm implementation HOT 4
- [Warn] KITEX: auto retry retryable error, retry=2 error=remote or network error: get connection error HOT 6
- 使用proto协议 stream 生成的代码缺失包 context HOT 1
- kitex gen consumer server HOT 2
- Does kitex have plans to support other languages, such as python and java? HOT 2
- Kitex is always returning ErrRemoteOrNetwork after newIOErrorHandleMW
- Proposal: cmd support generate code without scaffolded code in multiservice mode HOT 1
- bug(grpc): multiple services mod unknown method HOT 3
- Proposal(grpc): Wrap RegisterService function to avoid lose type detection HOT 3
- 超时时间未生效,使用默认1s HOT 1
- Proposal: fallback to frugal automatically when using slim template HOT 3
- 负载均衡策略中的一致性哈希策略存在无法感知已摘除的下游列表问题 HOT 7
- grpc服务参照Middleware 扩展例子不能打印Request/Reponse内容 HOT 3
- server client WithErrorHandler invalid HOT 6
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.