Hi,
I am trying to implement a gRPC connection between two microservices, The proto message looks something like this:
message DataMap {
message Row {
map<string, google.protobuf.Any> map = 1;
}
map<string, string> headers = 1;
repeated Row rows = 2;
}
The server microservice accepts this structure of data from the client microservice and internally uses a library that requires the data to be in the form of java util Lists and not protobuf lists. Due to the process of conversion of this protobuf list to the util list, I have to iterate over the data set and the server takes extra time due to which the performance of the connection decreases. Is there any way in which I can get the java util list from the protobuf list without iterating over the entire data set?
Thank you!
Shefali