[grpc-io] Re: ServerContext deconstruct coredump

2022-11-23 Thread 'Eugene Ostroukhov' via grpc.io
Please provide more details.

On Monday, November 21, 2022 at 7:08:41 PM UTC-8 daimin...@gmail.com wrote:

>
> [image: WeChatWorkScreenshot_324eb9ea-2b13-4351-b9ae-50011b1304d6.png]
> Did anyone who ever encountered this problem, ask for help
>

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/a191d927-4633-4266-a37e-5c09ca00ca57n%40googlegroups.com.


[grpc-io] Re: custom polling interval for pull

2022-11-23 Thread 'Eugene Ostroukhov' via grpc.io
I would like to suggest checking this for the specific cloud products.

On Tuesday, November 22, 2022 at 12:25:46 AM UTC-8 b.phan...@gmail.com 
wrote:

> Experts,
>
> Is it possible to tune the internal polling interval for pull services? I 
> am trying to use cloud pub/sub on GCP and want to know if GRPC sussystem's 
> polling on the channel can be controlled..
>
> Thanks,
> Phani
>

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/890c5f26-0fb1-4759-ae64-d4db2b9c157en%40googlegroups.com.


[grpc-io] Kotlin arguments and request order

2022-11-23 Thread 'Joel Monroe' via grpc.io
Hello,

I am trying to get a gRPC service set up so that I can effectively have two 
arguments. I need to have access to an ID and a stream of chunks in my 
server. The client has access to the ID and the stream of chunks, but given 
gRPC's function model, I can only get one or the other. What would be great 
is for the setup where I can get the request with metadata, but I want to 
be mindful of best practice and not hack the platform too much. 

What is the best way to go about getting a stream of requests and a single 
request in one function call?

Thanks for your help!

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/eef57a84-0997-488c-9a6f-9aa808ea7348n%40googlegroups.com.


[grpc-io] C++: how to handle blocking code from callback reactor

2022-11-23 Thread Shareef Jalloq
Hi,

I'm new to gRPC and am struggling to find examples of how to call 
application code that blocks when using the callback API.

I found the documentation 
here: https://github.com/grpc/proposal/blob/master/L67-cpp-callback-api.md 
and noted that it recommend that code in any reaction must not block.  So 
for an example of a simple unary reactor such as that in the 
route_guide_callback_server.cc, what is the correct way of handing off to 
your application code?

Am I correct in assuming that I need to call my blocking application code 
in a new thread and pass the reactor (along with req/resp) to that new 
thread such that it can call reactor->Finish() once the work is done?

Thanks, Shareef.

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/072bb2a2-5367-4e0b-9f1b-e1766d23c346n%40googlegroups.com.


[grpc-io] attribute error of comipled protos in python

2022-11-23 Thread Ashutosh Mishra
I have tree of protos and i am successfully compiling those protos in 
python and while importing the compiled protos in my project it is giving 
AttributeError: partially initialized module 'apple.event_pb2' has no 
attribute 'DESCRIPTOR' (most likely due to a circular import)

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/ddfee5d7-5dff-4070-b3c1-1e1fa6baa92en%40googlegroups.com.