Thanks for the replies.  The documentation has room for improvement on
this.  I just noticed this:

option cc_generic_services = true;

It seems to generate these stubs without the grpc plugin.  However, it did
not seem to work for C# or Python (it seems the gRPC plugin is the only way
to make those stubs).

I did notice the rpcz project but did not have a chance yet to evaluate it.

Thanks,
Mohamed Koubaa
Software Developer
ANSYS Inc

On Sat, Aug 6, 2016 at 3:20 AM, John Obaterspok <[email protected]>
wrote:

> Hi,
>
> You could check out https://github.com/thesamet/rpcz
> for using protobuf (ver 2) over zeromq. Perhaps that could ease your
> migration to gRPC.
>
> -- john
>
> 2016-08-05 17:03 GMT+02:00 Mohamed Koubaa <[email protected]>:
>
>> Hello,
>>
>> As per the language guide, defining a service in a .proto file will
>> generate RPC stubs which we can implement (or let gRPC implement).
>> https://developers.google.com/protocol-buffers/docs/proto3#services
>>
>> We have a zeroMQ service that we are interested in migrating from
>> JSON-RPC to gRPC.  To stage this effort, we are interesting in creating the
>> RPC stubs and using the same zeroMQ to implement them, and then move to
>> gRPC once we deal with an orthogonal service discovery problem that
>> prevents us from dropping zeroMQ immediately.
>>
>> To my surprise, adding the RPC code to the .proto did not generate any
>> stubs in c++. I am using proto3 beta4 at the moment.  Do I need any
>> additional flags to protoc?
>>
>> Thanks
>> Mohamed Koubaa
>> Software Developer
>> ANSYS Inc
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Protocol Buffers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/protobuf.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to