We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java SDK (apache/dubbo)
Dubbo 3.2.0 SpringBoot: 2.7.18 JDK 1.8 OS: window
The proto file
syntax = "proto3"; option java_multiple_files = false; option java_package = "com.coding.api.protobuf2"; option java_outer_classname = "HelloProtoPro"; message HelloRequestPro { string username = 1; } message HelloResponsePro { string result = 1; } service HelloServicePro { rpc hello(HelloRequestPro) returns (HelloResponsePro){} }
The client and server are unable to get the parameter values
the Server code
@DubboService @Slf4j public class UserServiceProtobufImpl implements HelloService { @Override public HelloResponse hello(HelloRequest request) { String username = request.getUsername(); // print log HelloResponse.Builder responseBuilder = HelloResponse.newBuilder(); return responseBuilder.setResult("success").build(); } @Override public CompletableFuture<HelloResponse> helloAsync(HelloRequest request) { return null; } }
proto file support the option
option java_multiple_files = true;
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo 3.2.0
SpringBoot: 2.7.18
JDK 1.8
OS: window
Steps to reproduce this issue
The proto file
The client and server are unable to get the parameter values
the Server code
What you expected to happen
proto file support the option
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: