kitex-contrib / codec-dubbo

支持 kitex <-> dubbo 互通的 dubbo 协议编解码器。
Apache License 2.0
16 stars 14 forks source link

[P1] Protocol Probing #91

Closed DMwangnima closed 3 months ago

DMwangnima commented 3 months ago

Is your feature request related to a problem? Please describe. Since protocol probing for dubbo protocol is not supported, the only way to run dubbo + hessian2 and ttHeader + thrift together is for Kitex Server to listen on different ports.

Describe the solution you'd like

Support protocol probing in codec-dubbo. If it is not a dubbo protocol, the corresponding codec in the kitex is used for encoding and decoding.

Reference https://github.com/cloudwego/kitex/tree/develop/pkg/remote/trans/detection

What you want

  1. Implementation
  2. Example for multiple protocol
  3. Document updating
whalecold commented 3 months ago

/assign

DMwangnima commented 3 months ago

Done by #92 and https://github.com/kitex-contrib/codec-dubbo-tests/pull/12