@ Bean @ ConditionalOnMissingBean ( SpringAwareManagedChannelBuilder . class ) public SpringAwareManagedChannelBuilder managedChannelBuilder ( Optional < List < GrpcManagedChannelBuilderCustomizer > > customizers ) { return new SpringAwareManagedChannelBuilder ( customizers ) ; }
This is wrapper around gRPC s managed channel builder that is spring - aware