Re: [grpc-io] how can I get google/api/annotations.proto please?

2017-04-13 Thread 'Stanley Cheung' via grpc.io
You mean this? https://github.com/googleapis/googleapis/blob/master/google/api/annotations.proto On Thu, Apr 13, 2017 at 8:26 PM, 徐学良 wrote: > Dear: > my project need to use grpc-gateway, I secrch for the related > document, It prove that I need to use google/api/annotations.proto, but I >

[grpc-io] how can I get google/api/annotations.proto please?

2017-04-13 Thread 徐学良
Dear: my project need to use grpc-gateway, I secrch for the related document, It prove that I need to use google/api/annotations.proto, but I dont know how can I get that, can you help me? thanks 发自徐学良 -- You received this message because you are subscribed to the Google Groups "grp

[grpc-io] Re: gRPC not resolving DNS to a kubernetes service

2017-04-13 Thread 'Yuchen Zeng' via grpc.io
Currently grpc is using get getaddrinfo to do the name resolution. I'm investigating why ping can resolve the name of the service but getaddrinfo can not. Could you please also try it with --env="GRPC_DNS_RESOLVER=ares" on master? It will use a c-ares based resolver instead of getaddrinfo. On S

Re: [grpc-io] Re: Finding list of available grpc methods in an api

2017-04-13 Thread Josh Humphries
If you are using Go, I've written a library that provides a better client API than just the streaming method on the generated service stub: github.com/jhump/protoreflect/grpcreflect (It also speaks in terms of *desc.Descriptor types def

[grpc-io] Any C++ example for AsyncStreaming Client?

2017-04-13 Thread Anirudh Kasturi
Hello folks, Can you please give me pointers to an example that has an AsyncStreaming Client? Also, when the client is streaming data to the server, we will be basically streaming multiple messages. Is there a default timeout when the channel sees no more messages for a certain amount of ti

[grpc-io] Re: Finding list of available grpc methods in an api

2017-04-13 Thread 'Carl Mastrangelo' via grpc.io
Yes, if the server has Server Reflection turned on. It is currently off be default. It requires that the API use protobuf. You can send an RPC to the /grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo method. It is defined in reflection.proto in each of the repositories. On Thur

[grpc-io] Finding list of available grpc methods in an api

2017-04-13 Thread Constantine
Hi ! Is there any way to find out about the list of grpc methods available by an API? -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegrou

Re: [grpc-io] grpc-java graceful channel shutdown

2017-04-13 Thread 'Eric Anderson' via grpc.io
+zhangkun, as FYI for RoundRobinLoadBalancer On Tue, Apr 4, 2017 at 7:05 PM, wrote: > Is there a way to command a channel to gracefully shutdown, waiting for > any active calls to complete before terminating the link? > I expected channel.shutdown() to work this way. > That's how it's intended.

Re: [grpc-io] Re: Proposal to allow C++ to be used in gRPC Core

2017-04-13 Thread 'Craig Tiller' via grpc.io
Update: we've got an experiment living in https://github.com/grpc/grpc/pull/10427, but are seeing some significant problems mixing C & C++ in the same .so with our current build system on Mac. On Tue, Apr 4, 2017 at 6:05 PM Craig Tiller wrote: > Forwarding a note from the Juniper grpc-c folks: >

[grpc-io] Re: DNS External Load Balancing

2017-04-13 Thread 'Kun Zhang' via grpc.io
Sorry for not making it more clear, but the external load balancing refers to a specific solution defined by this proto , won't work with AWS ELB, and is still work-in-progress. It sounds to me that you are using

[grpc-io] Re: grpc-java server-side max age

2017-04-13 Thread 'Eric Anderson' via grpc.io
On Thursday, April 6, 2017 at 9:11:28 AM UTC-7, dan@rach.io wrote: > > In this comment Eric mentions work on a "max age" field server-side in > grpc-java: > https://github.com/grpc/grpc/issues/7957#issuecomment-289515839 > > I can't find any other mention of this. Is there a tracking issue

Re: [grpc-io] Re: Do we have any examples to use grpc in C

2017-04-13 Thread Kostas
Hi Ajay, This is very good news, thanks for letting me know. Looking forward to trying the alpha code. Regards, Kostas On Wed, 12 Apr 2017 at 22:16, ajhai wrote: > Hi Kostas, > > I'm one of the developers of grpc-c. We will be pushing changes to grpc-c > hopefully towards end of this month an