@ConditionalOnBean(CompressorRegistry.class)
    @Bean
    GrpcChannelConfigurer compressionChannelConfigurer(final CompressorRegistry registry) {
        return (builder, name) -> builder.compressorRegistry(registry);
    }
Creates a new NameResolverRegistration. This ensures that the NameResolverProvider's get unregistered when spring
shuts down. This is mostly required for tests/when running multiple application contexts within the same JVM.

@param nameResolverProviders The spring managed providers to manage.
@return The newly created NameResolverRegistration bean.
grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/autoconfigure/GrpcClientAutoConfiguration.java