lethexixin opened a new issue #1360:
URL: https://github.com/apache/dubbo-go/issues/1360
**proto文件: stream.proto**
```proto
syntax = "proto3";
option java_multiple_files = true;
option java_package = "io.grpc.examples.proto";
option java_outer_classname = "Stream";
option objc_class_prefix = "HL";
package proto;
option go_package = ".;tri_demos";
// 编译命令 protoc -I ./ stream.proto --dubbo3_out=plugins=grpc+dubbo:.
//服务端接口类
// The greeting service definition.
service Stream {
//服务端接口方法
rpc TwoSidesStream (stream Request) returns (stream Reply) {}
rpc ClientStream(stream Request) returns (Reply) {}
rpc ServerStream(Request) returns (stream Reply) {}
}
//请求参数 基于序号的协议字段映射,所以字段可以乱序,可缺段
// The request message containing the user's name.
message Request {
string name = 1;
}
// The response message containing the greetings
message Reply {
string message = 1;
}
```
> 平台: Win10
> protoc-gen-dubbo3.exe 工具由
`https://github.com/apache/dubbo-go/tree/3.0/protocol/dubbo3/protoc-gen-dubbo3`
(2021年8月2日)编译而成
> 编译命令: protoc -I ./ stream.proto --dubbo3_out=plugins=grpc+dubbo:.
上面的proto文件,生成triple协议的pb.go文件的时候, 对于 `rpc ServerStream(Request) returns
(stream Reply) {} `方法, 生成error, 如下:


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