I see datahub using HttpNettyClient
to make requests to gms but it always make requests to the first inetaddress return by dns resolver and cache the inetaddress forever without using the second inetaddress if gms replicas is 2. I think this might be caused by connection pool. Is there a way to turn off keep alive or set connection ttl?
I know people can do it on httpcomponents.httpclient
but not sure about HttpNettyClient
.