I'm searching for a way to implement generic gRPC client in java which would allow to execute calls providing .proto definition (or at least relying on generated grpc classes), service and method names as parameters.
Probably you could advice if there are any existing libs/frameworks containing implemented solution of such client in java?
I was able to find only this one in Apache Camel: https://github.com/apache/camel/blob/master/components/camel-grpc/src/main/java/org/apache/camel/component/grpc/GrpcProducer.java. It relies on generated grpc classes and uses utility methods to find necessary stub implementation using service name + method provided https://github.com/apache/camel/blob/master/components/camel-grpc/src/main/java/org/apache/camel/component/grpc/GrpcUtils.java.
and also this post, How to create GRPC client directly from protobuf without compiling it into java code, but this implementation uses ServerReflectionGrpc which is not what I'm looking for.
Do you know any other existing generic java gRPC Client implementations? Or probably a decent way to implement this? Thanks a lot!