-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
What is the feature you want to add?
提供对 trpc-java 集成支持,开箱即用(springboot-starter风格)地注册服务、发现服务、动态路由等。
如果已有支持,可能是我在文档中没有发现
Why do you want to add this feature?
- 相比 gPRC,更喜欢 tRPC 生成的 Java 代码中,Response 作为方法参数返回的风格
- 熟悉 tRPC + Polaris 的开发方式,想继续用于个人学习中
How to implement this feature?
开发类似 trpc-polaris-springboot-starter 项目,集成 tRPC 和 polaris。
- 在 tRPC 配置中 Provider 的注册方式为 polaris,spring 读取配置自动构建和启动 Provider beans,并根据配置自动注册 providers 以及生成定时心跳上报的调度任务
- 在 tRPC 配置中 Consumer 的发现方式为 polaris,spring 读取配置自动构建 Consumer beans,并负责 consumers 的负载均衡等工作
- 以上
Additional context
Add any other context or screenshots about the feature request here.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request