You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The context
Spring Framework's BeanPostProcessorChecker has started to complain loudly
(logs at WARN level) about the BeanPostProcessors in this repo.
Creating a Spring Boot application that hosts a gRPC server and
uses multiple gRPC client stubs to access services. Spring Boot version: 3.3.2
Both client and server auto-configurations classes trigger the checker. The bug
Warnings:
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker Bean 'net.d
evh.boot.grpc.client.autoconfigure.GrpcClientAutoConfiguration' of type [net.devh.boot.grpc.client.autoconfigure.GrpcClientAutoConfiguration]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly
injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and
its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker Bean 'net.d
evh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration' of type [net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly
injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and
its dependencies.
Stacktrace and logs
N/A - application does start up Steps to Reproduce
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'net.devh.boot.grpc.client.autoconfigure.GrpcClientAutoConfiguration' of type [net.devh.boot.grpc.client.autoconfigure.GrpcClientAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration' of type [net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'defaultGrpcServerProperties' of type [net.devh.boot.grpc.server.config.GrpcServerProperties] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'selfNameResolverFactory' of type [net.devh.boot.grpc.server.nameresolver.SelfNameResolverFactory] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'grpcNameResolverRegistration' of type [net.devh.boot.grpc.client.nameresolver.NameResolverRegistration] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'grpcChannelsProperties' of type [net.devh.boot.grpc.client.config.GrpcChannelsProperties] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'globalClientInterceptorRegistry' of type [net.devh.boot.grpc.client.interceptor.GlobalClientInterceptorRegistry] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'net.devh.boot.grpc.common.autoconfigure.GrpcCommonCodecAutoConfiguration' of type [net.devh.boot.grpc.common.autoconfigure.GrpcCommonCodecAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'defaultGrpcCodecDiscoverer' of type [net.devh.boot.grpc.common.codec.AnnotationGrpcCodecDiscoverer] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'defaultCompressorRegistry' of type [io.grpc.CompressorRegistry] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'compressionChannelConfigurer' of type [net.devh.boot.grpc.client.autoconfigure.GrpcClientAutoConfiguration$$Lambda/0x00007fc7f8549a38] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'defaultDecompressorRegistry' of type [io.grpc.DecompressorRegistry] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'decompressionChannelConfigurer' of type [net.devh.boot.grpc.client.autoconfigure.GrpcClientAutoConfiguration$$Lambda/0x00007fc7f854a568] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'shadedNettyGrpcChannelFactory' of type [net.devh.boot.grpc.client.channelfactory.InProcessOrAlternativeChannelFactory] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'annotationGlobalClientInterceptorConfigurer' of type [net.devh.boot.grpc.client.interceptor.AnnotationGlobalClientInterceptorConfigurer] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'asyncStubFactory' of type [net.devh.boot.grpc.client.stubfactory.AsyncStubFactory] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'blockingStubFactory' of type [net.devh.boot.grpc.client.stubfactory.BlockingStubFactory] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-07-31T10:19:01 WARNING [main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
Bean 'futureStubFactory' of type [net.devh.boot.grpc.client.stubfactory.FutureStubFactory] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [grpcClientBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
The text was updated successfully, but these errors were encountered:
space88man
changed the title
Warnings about Not eligible for getting processed by all BeanPostProcessors
Spring Framework BeanPostProcessorChecker: warning logs about BeanPostProcessors
Jul 31, 2024
The context
Spring Framework's BeanPostProcessorChecker has started to complain loudly
(logs at WARN level) about the BeanPostProcessors in this repo.
Creating a Spring Boot application that hosts a gRPC server and
uses multiple gRPC client stubs to access services. Spring Boot version: 3.3.2
Both client and server auto-configurations classes trigger the checker.
The bug
Warnings:
Stacktrace and logs
N/A - application does start up
Steps to Reproduce
The application's environment
Which versions do you use?
Additional context
grpcClientBeanPostProcessor
is declared: FlywayAutoConfiguration is triggering framework's BeanPostProcessorChecker: not eligible for getting processed by all BeanPostProcessors spring-projects/spring-boot#41656 (comment)The text was updated successfully, but these errors were encountered: