[grpc-io] Re: pubsub examples?

2016-08-31 Thread Paul Grosu
rt concurrent >> >> >> import grpc >> >> import pubsub_pb2 >> >> def client(stub): >> def my_topics(): >> yield pubsub_pb2.SubscriptionRequest(topic="grpc") >> time.sleep(5) >> yield pubsub_pb2.SubscriptionRequest(topic=&

[grpc-io] Re: pubsub examples?

2016-08-27 Thread Paul Grosu
Hi Mark, Might the following PubSub via gRPC example be useful: https://github.com/GoogleCloudPlatform/cloud-pubsub-samples-java/tree/master/grpc Paul On Friday, August 26, 2016 at 6:13:32 AM UTC-4, Mark NS wrote: > > Hi, > > I'm looking into using gRPC for a line-of-business app with 10-100

Re: [grpc-io] Get google's from grpc C++

2016-08-26 Thread Paul Grosu
(* > *new MyCustomAuthenticator("Access Token")));* > *//# CompositeChannelCredentials* > *auto channelComposite = grpc::CompositeChannelCredentials(ssl_channel, > call_creds);* > *//# Create channel* > *auto channel = grpc::CreateChannel("speech.googleapis.com:

Re: [grpc-io] Get google's from grpc C++

2016-08-24 Thread Paul Grosu
Of course :) You have two options: 1) Use the Google APIs Client Library for C++: https://google.github.io/google-api-cpp-client/latest/guide/oauth2.html 2) Or just use execve system call to run an external program

[grpc-io] Optimization Exploration: gRPC-Java under large payloads

2016-08-10 Thread Paul Grosu
Hi Everyone, So this is an opportunity to work as a community to explore solutions to improve gRPC-Java when one has large payloads. You might have seen the following post by Carl of a slowdown with large payloads using gRPC-Java

[grpc-io] Re: bazel rules_protobuf (java)

2016-08-03 Thread Paul Grosu
Very cool! If it gets any easier, somehow the image of the people from the movie Wall-E comes to mind :) $ bazel run ProgramCreatorBot On Wednesday, August 3, 2016 at 2:43:42 PM UTC-4, Paul Johnston wrote: > > I've updated rules_protobuf to >

[grpc-io] Re: Regarding the compilation of GRPC for libcrypto.a

2016-08-01 Thread Paul Grosu
Hi Vivek, Please elaborate on the steps you took to get to this error (i.e. OS, commands that were run, and console output of the errors). Thanks, Paul On Monday, August 1, 2016 at 6:13:10 AM UTC-4, Vivek Srivastava wrote: > > hi > > I have pulled out the gRPC code from server but i am unable

Re: [grpc-io] grpc from JavaScript in the browser

2016-08-01 Thread Paul Grosu
I prefer the practical sense :) By empowering users through the addition of documentation for the shared C library and how to properly create a surface API by integrating with it, for sure that will ease your pain of having to create the

Re: [grpc-io] How close is gRPC to a release candidate?

2016-07-27 Thread Paul Grosu
ons on any of them. Thank you, Paul On Wednesday, July 27, 2016 at 8:38:06 PM UTC-4, Louis Ryan wrote: > > Paul, > > On Wed, Jul 27, 2016 at 10:00 AM, Paul Grosu <pgr...@gmail.com > > wrote: > >> >> I understand the need, but rushing things with a comple

[grpc-io] Re: gRPC 1.0.0-pre1 release packages are now available for testing

2016-07-27 Thread Paul Grosu
Hi Kailash, This is fantastic news! Big Congratulations to the whole team! Just wondering how thoroughly should we test these releases? Basically should we put: - A naive user hat (i.e. let me find the documentation and follow it), or - An expert user hat (i.e. let me tweak the

Re: [grpc-io] How close is gRPC to a release candidate?

2016-07-27 Thread Paul Grosu
I understand the need, but rushing things with a complex programming project such as this does not always translate into quality. With this project I would prefer Google to take their time to do it right. The gRPC team are doing fantastic service, but already they feel way too stretched out