akka / akka-grpc

A platform to build and run apps that are elastic, agile, and resilient. SDK, libraries, and hosted environments.
https://doc.akka.io/libraries/akka-grpc/current/
Other
431 stars 124 forks source link

Revisit DNS resolution for Akka HTTP client backend #1395

Open johanandren opened 3 years ago

johanandren commented 3 years ago

I may have missed something but it looks as though the client now uses the regular blocking JDK infrastructure to resolve the hardcoded/grpc-dns hostname?

https://github.com/akka/akka-grpc/blob/92bcd0344ef6c638b4142a7b11609b1579f44fbf/runtime/src/main/scala/akka/grpc/internal/AkkaHttpClientUtils.scala#L72

johanandren commented 3 years ago

To clarify, I think it should use the async Akka DNS infra instead.