xiaoyuuuuuupeng opened a new issue, #13367:
URL: https://github.com/apache/dubbo/issues/13367

   ## dubbo-compiler Purpose
   The purpose of the dubbo-compiler is to generate certain capabilities for 
protocol conversion that cannot be accommodated within the dubbo framework, 
based on proto files.
   all generators,you can see
   
![WechatIMG24660](https://github.com/apache/dubbo/assets/30964063/8bd4a685-42e8-4670-a253-0305e34ee163)
   
   
   ## Changes
   ### 1. Remove the "grpc" package
   Since the Tri protocol supports native gRPC calls and Tri clients can call 
native gRPC servers, the "grpc" package can be removed.
   
   TODO:
   Test scenarios:
   Tri client to native gRPC server
   Tri client to Tri server
   gRPC client to Tri server
   ### 2. Remove the "dubbo" package?
   The "dubbo" package contains two generators. Compare the code generated by 
both generators.
   
![Untitled](https://github.com/apache/dubbo/assets/30964063/e9f41396-0f97-4f1f-b051-a961ae5205d0)
   
   The main difference is that DubboGenerator still uses ProtobufUtils from the 
dubbo-serialization package, which has some issues. The protobuf-java version 
in this package is tied to the dubbo version, which may cause compatibility 
issues if the locally generated code doesn't match this version. Additionally, 
this class has been removed in v3.3, so it can be safely 
removed.Dubbo3Generator provides support for dubbo to use proto-generated 
services for invocation, following an IDL development pattern. It is 
recommended to keep this generator.Note: The above translation assumes that 
"Tri" and "Dubbo" are specific terminologies or technologies related to the 
project. If they have different meanings or need to be translated differently, 
please provide more information for accurate translation.
   
   
   


-- 
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