apache / dubbo-kubernetes

The Dubbo Kubernetes integration.
https://dubbo.apache.org/
Apache License 2.0
167 stars 76 forks source link

Console feature: add testing feature for triple and dubbo protocols. #84

Open chickenlj opened 9 months ago

chickenlj commented 9 months ago

description

元数据的获取是关键,未来以triple/http为主

components

depends on

https://github.com/apache/dubbo-kubernetes/issues/78

undertaker86001 commented 9 months ago

I want to try this job

kaori-seasons commented 8 months ago

需求背景: 老的dubbo-admin的testing能力是根据元数据上报拿到机器,端口号以及provider信息 基于zk的curator client完成 provider当中数据结构的查询. 而新版本的testing 需要优先支持用户的protobuf定义(triple协议是基于 HTTP2 并兼容 GRPC的协议,dubbo与triple协议主推的都是 protobuf 序列化), 了避免引入集中式proto文件管理,选择基于grpc的server reflect机制实现 ,基于grpc-gen-protoc生成的Descrptor返回原本的.proto文件的数据结构. 对于本需求新老版本都需要兼容


Requirement background: The testing capability of the old dubbo-admin is to obtain the machine, port number and provider information based on metadata reporting The curator client based on zk completes the query of the data structure in the provider. The new version of testing needs to give priority to supporting the user's protobuf definition. In order to avoid the introduction of centralized proto file management, the server reflect mechanism based on grpc is chosen to implement it. The Descrptor generated based on grpc-gen-protoc returns the data structure of the original .proto file. For this requirement, both old and new versions need to be compatible