pekko-grpc icon indicating copy to clipboard operation
pekko-grpc copied to clipboard

fail PekkoDiscoveryNameResolver on invalid addresses

Open raboof opened this issue 1 year ago • 0 comments

ResolvedTarget has an address: Option[InetAddress]. PekkoDiscoveryNameResolver uses that, even when its .getAddress returns null. It would probably be better to fail early and treat this the same as a target with a host without an address that fails to resolve?

(if we change this we probably need to adapt some tests around balancing to test with 'valid but non-responsive' addresses rather than 'invalid' addresses)

raboof avatar Jun 21 '24 08:06 raboof