GRPC: Client streaming with configuration message
问题 Here's a proto definition for a service that consumes a stream of events from a client message Event { // ... } service EventService { rpc Publisher(stream Event) returns (google.protobuf.Empty); } The problem is that the server needs to be told what to do with this stream. Ideally, it would first recieve an Options message: message Event { // ... } message Options { // ... } service EventService { rpc Publisher(Options, stream Event) returns (google.protobuf.Empty); } However, grpc only