Re: [grpc-io] gRPC client fallback from load-balancer to round robin DNS endpoint on LB outage

2023-11-03 Thread 'Larry Safran' via grpc.io
This is a perfect scenario for a custom LB policy. Since LB policies form a tree, you could easily have your policy delegate to either a PickFirst or RoundRobin policy depending on whether or not the LB is up. Just have your policy define a ForwardingLoadbalanceHelper whose updateBalancingState

[grpc-io] gRPC client fallback from load-balancer to round robin DNS endpoint on LB outage

2023-11-03 Thread Krishna Sai Veera Reddy
Hello All, I am working on a gRPC client that connects to a gRPC service fronted by an LB but would like the client to automatically fallback to using round-robin DNS to directly connect to the backend servers when the LB goes down. How do I go about this? Would I need to implement my own

[grpc-io] grpc C++ unit testing rpc services

2023-11-03 Thread smita deshpande
Hi, I am new to grpc, is there any documentation or examples explaining unit testing of server side RPC calls/services? Thanks, Smita -- 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

[grpc-io] Re: Bazel build failed with boringssl error when compiling proto files using "rules_proto_grpc"

2023-11-03 Thread Connor Riley
Did you figure out how to fix this? I'm getting a similar error when compiling via cmake. On Thursday, July 27, 2023 at 5:43:03 AM UTC-4 Senal Weerasinghe wrote: > Build versions: > OS : MacOs Ventura 13.5 > Bazel version : bazel 5.4.0 > Protoc version

[grpc-io] grpc c++ unit testing RPCs

2023-11-03 Thread smita deshpande
Hi, I want to test the RPC services. My server side is in C++ and want to unit test services. Is there any example which explains? Do we have to test with real clients..in that case, grpc server needs to be started? Found one link for mocking server, but it was for ASP.net