dawnzzz commented on PR #159:
URL: https://github.com/apache/dubbo-kubernetes/pull/159#issuecomment-1907664931

   基于gRPC reflection进行服务测试,基本流程如下:
   1. 通过reflection获取信息,包括但不限于:
       - service name list
       - method name list
       - describe string(proto定义)
       - template string(输入/输出 json 模版)
   2. 基于接口信息 invoke,支持unary,client stream,server stream,bi-stream模式,input 
format is json
   
   应用侧需要:
   - 对于gRPC应用,需要开启grpc reflection
   - 对于dubbo应用,triple协议目前已经默认开启了reflection,并且与grpc reflection兼容,故可以通过grpc 
reflection获取接口信息(对于 dubbo go应用,测试于 
[d2ed4f534bdfb14f59f795297c896cf18bb72cd4](https://github.com/apache/dubbo-go/tree/d2ed4f534bdfb14f59f795297c896cf18bb72cd4),更早的版本可能会不支持
 reflection/不兼容grpc reflection)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to