Comments (4)
I can help on that
from aeraki.
@caibirdme tRPC has been supported.
Follow the below steps to install trpc demo and try it:
In a kind cluster:
git clone https://github.com/aeraki-mesh/aeraki.git
cd aeraki
make demo
./demo/metaprotocol-trpc/install.sh
$ k -n meta-trpc get pod
NAME READY STATUS RESTARTS AGE
trpc-sample-client-bidirection-stream-77fb4f6d89-tr5hz 2/2 Running 0 18m
trpc-sample-client-stream-794cb4556f-mslkh 2/2 Running 0 18m
trpc-sample-client-unary-55f9cd4d6c-49k72 2/2 Running 0 18m
trpc-sample-server-stream-7c6b44788f-lj6nc 2/2 Running 0 18m
trpc-sample-server-v1-844ccb9dc4-q92t5 2/2 Running 0 18m
trpc-sample-server-v2-7886559675-h9knp 2/2 Running 0 18m
unary examp
$ k -n meta-trpc logs trpc-sample-client-unary-55f9cd4d6c-49k72 --tail 10
2023-12-17 07:08:45.270 DEBUG client/main.go:77 client: send req:trpc-go-client-1
2023-12-17 07:08:45.274 DEBUG client/main.go:83 client: receive rsp:response from :trpc-sample-server-v2-7886559675-h9knp
2023-12-17 07:08:46.275 DEBUG client/main.go:77 client: send req:trpc-go-client-1
2023-12-17 07:08:46.278 DEBUG client/main.go:83 client: receive rsp:response from :trpc-sample-server-v1-844ccb9dc4-q92t5
2023-12-17 07:08:47.279 DEBUG client/main.go:77 client: send req:trpc-go-client-1
2023-12-17 07:08:47.283 DEBUG client/main.go:83 client: receive rsp:response from :trpc-sample-server-v1-844ccb9dc4-q92t5
2023-12-17 07:08:48.283 DEBUG client/main.go:77 client: send req:trpc-go-client-1
2023-12-17 07:08:48.289 DEBUG client/main.go:83 client: receive rsp:response from :trpc-sample-server-v1-844ccb9dc4-q92t5
2023-12-17 07:08:49.289 DEBUG client/main.go:77 client: send req:trpc-go-client-1
2023-12-17 07:08:49.293 DEBUG client/main.go:83 client: receive rsp:response from :trpc-sample-server-v1-844ccb9dc4-q92t5
stream example
$ k -n meta-trpc logs trpc-sample-client-stream-794cb4556f-mslkh --tail 10
2023-12-17 07:09:31.210 DEBUG client/main.go:103 client: send stream req:trpc-go-client-5
发送data帧
2023-12-17 07:09:32.711 DEBUG client/main.go:114 client: send close stream req to server
发送close帧
收到data帧
收到close帧
2023-12-17 07:09:33.213 DEBUG client/main.go:118 client: client stream closed. rsp:msg:"response from :trpc-sample-server-v1-844ccb9dc4-q92t5"
发送init帧
2023-12-17 07:09:34.217 DEBUG client/main.go:103 client: send stream req:trpc-go-client-1
from aeraki.
Actually, I wrote the trpc codec for metaprotocol when I was at Tencent. Are you from Tencent? If you're, could you please help also open source that codec and maybe raise a PR to add it to the MetaPeotocol repo?
@zhongfox @Xunzhuo @woluohenga @ianyuan26
from aeraki.
Thx a lot
from aeraki.
Related Issues (20)
- demo的aeraki镜像拉取失败
- 如何针对dubbo interface配置限流 HOT 5
- health checks
- when to support istio 1.16 HOT 4
- control plane adjust to 1.16 because envoyfilter error
- aeraki和采用envoy作为代理的云原生网关的案例 HOT 2
- AERAKI_IS_MASTER does not take effect
- Request for upgrading istio to 1.18 HOT 1
- governance:request to join steering committee HOT 2
- 【baidu】request to join steering committee HOT 2
- governance:request to join steering committee HOT 2
- 【HUAWEI】request to join steering committee HOT 3
- Code of Conduct update to replace mediator email with the CNCF committee email HOT 1
- CNCF TOC annual review due
- controller-runtimer: log.SetLogger(...) was never called, logs will not be displayed
- How to install in TCM HOT 1
- Aeraki连接istiod 15012加密端口失败 HOT 2
- Aeraki内存泄漏
- Docs: Images link is invalid.
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 aeraki.