Hey, I am interested in grpc client running  in c++/golang code.  I am 
currently using v1.51.
I understand that grpc-java, this has been fixed in v1.56, but java is not 
my usecase

On Thursday, August 24, 2023 at 11:53:48 PM UTC+5:30 sanjay...@google.com 
wrote:

> Would like to confirm that you are asking about gRPC Java (inferring from 
> your mention of ByteBuffer).
>
> On Thursday, August 24, 2023 at 10:53:48 AM UTC-7 Abhishek Kabra wrote:
>
>> Hi,
>> There is issue in protobuf where nested messages (recursion) if goes 
>> beyond 100 depth, DeSerialization fails.  However it can be fixed  via 
>> converting serialized message into input coded stream and then setting 
>> recursion limit and then doing DeSerialization. 
>>
>> Now same issue exists in GRPC, when server respond back with deep nested 
>> message over protobuf response, client doesn't understand the response and 
>> DeSerialization fails. 
>>
>> How can I access Raw Data in GRPC service call ? I  have tried custom 
>> interceptor, SerializationTraits but it doesn't seem to work. 
>>
>> Example PB 
>>
>> service RecursionTest {
>>     rpc GetMeRecursiveProto(Req) returns (Response) {}
>>  
>> }
>> message Req {
>>     int64 level=1;
>> }
>> message msg {
>> string name=1;
>> }
>> message final {
>> msg first=1;
>>         int64 level=2;
>> repeated final inner=3;
>> }
>> message Response {
>>     final resp = 1;
>> }
>>
>

-- 
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/33d0eaf0-ca6c-4ebf-bc2a-355d32243b14n%40googlegroups.com.

Reply via email to