EventStoreDB-Client-Java icon indicating copy to clipboard operation
EventStoreDB-Client-Java copied to clipboard

Allow the user to use whatever gRPC implementation they want.

Open YoEight opened this issue 2 years ago • 1 comments
trafficstars

Changed: Allow the user to use whatever gRPC implementation they want.

Fixes #249

This patch allows the user to use whatever gRPC implementation they want which is valuable if you want to use the client in Android for example. As a consequence, users will have to import grpc-netty, grpc-netty-shaded or grpc-okhttp depending on their situation.

YoEight avatar Nov 02 '23 18:11 YoEight

I would put that PR on hold because I'm unable to disable certificate verification using Grpc.newChannelBuilderForAddress and TlsChannelCredentials only. Setting a custom insecure trust manager and a hostname verifier do absolutely nothing. Will investigate what the folks working on grpc-netty-shaded did to make that possible.

YoEight avatar Nov 03 '23 04:11 YoEight