xiaoyuuuuuupeng commented on issue #13367: URL: https://github.com/apache/dubbo/issues/13367#issuecomment-1812469798
中文版本: ## 一、目的 dubbo-compiler目的是根据proto文件生成一部分无法承载在dubbo框架内部协议转换的能力。 ## 二、改动 ### 1、删除grpc包 Tri协议支持原生的grpc调用,支持Tri客户端调用原生的grpc-server,所以现可以将grpc包下的删掉。 该项目下的全部文件:  TODO: 自测: tri客户端→原生grpc tri客户端→tri服务端 grpc→tri服务端 ### 2、删除dubbo包? dubbo包下有两个生成器,对比两者生成的代码  主要区别在于`DubboGenerator`还在使用dubbo-serialization里面的ProtobufUtils,这个里面有大坑,这个包下的protobuf-java版本是跟dubbo版本走的,可能会导致你本地生成的代码和此版本不匹配,导致生成的代码报错。且此类也已经在v3.3被删除了,可以干掉此生成器没有问题。 `Dubbo3Generator` 提供了 dubbo对proto支持,支持dubbo使用proto生成Service进行调用,是一种IDL的开发模式支持,建议可以保留。 -- 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]
