Thanks for your reply and link, Srini.
$ env | grep
GRPC
GRPC_TRACE=all
GRPC_VERBOSITY=DEBUG
$ python greeter_client.py &> log
^C^C^C
for this log, I updated the previous test code not to do the 10 messages with default options:
from __future__ import print_functionimport grpcimport helloworld_pb2import helloworld_pb2_grpcdef run(round_robin=False): if round_robin: opts = [("grpc.lb_policy_name", "round_robin",)] channel = grpc.insecure_channel('localhost:50051' , opts) else: channel = grpc.insecure_channel('localhost:50051') print ("Connection OK") stub = helloworld_pb2_grpc.GreeterStub(channel) response = stub.SayHello(helloworld_pb2.HelloRequest(name='you')) print("Greeter client received: " + response.message)if __name__ == '__main__': print("========= without options ========") for _ in range (0): run() print("======== with round robin =======") for _ in range (10): run(True)