kitex-contrib / codec-dubbo

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

[P2] Proposal: IDL Generator From Java Source Code #36

Open felix021 opened 1 year ago

felix021 commented 1 year ago

The goal of this proposal is to implement a tool which generates a Thrift IDL by parsing Java source code from an existing Dubbo Java project.

The generated Thrift IDL should contain necessary tags, such as JavaInterfaceName on services and JavaClassName on structs, so that it can be used to generate Kitex client/server scaffold.

DMwangnima commented 6 months ago

BTW, we need to implement generating a Dubbo Java interface file from the thrift IDL. This is very useful in Dubbo Java client -> Kitex server.