Considering the heavy usage of Spring Cloud Discovery in cloud-native projects, it would be great to support the integration of spring-grpc and spring-cloud for NameResolver.
The solution was implemented for https://github.com/grpc-ecosystem/grpc-spring, and I believe it can be entirely reused for spring-grpc.
https://github.com/yidongnan/grpc-spring-boot-starter/tree/master/grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/nameresolver