Re: [grpc-io] protobuf-2.5.0/bin/protoc doesn't recognize "stream"?

2018-02-15 Thread Josh Humphries
The stream keyword was added in protobuf 3.0. (Version 2.5 is quite old.) Support for map types and proto3 syntax (which comes with a handful of language restrictions and semantic changes for messages) were also added in 3.0. *Josh Humphries* jh...@bluegosling.com On Thu, Feb 15, 2018 at

[grpc-io] protobuf-2.5.0/bin/protoc doesn't recognize "stream"?

2018-02-15 Thread Yanpeng Wu
*helloworld.proto* syntax = "proto2"; package helloworld; // The greeting service definition. service Greeter { // Sends a greeting rpc SayHello (HelloRequest) returns (stream HelloReply) {} } // The request message containing the user's name. message HelloRequest { optional string name =