Skip to content

Potential early bean instantiation issue #870

@shakuzen

Description

@shakuzen

Using the latest Finchley snapshots, I noticed that on startup there are quite a few warnings from the BeanPostProcessorChecker almost all for Sleuth beans.

2018-02-27 17:28:08.319  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.annotation.SleuthAnnotationAutoConfiguration' of type [org.springframework.cloud.sleuth.annotation.SleuthAnnotationAutoConfiguration$$EnhancerBySpringCGLIB$$6acd2a17] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.471  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthAdvisorConfig' of type [org.springframework.cloud.sleuth.annotation.SleuthAdvisorConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.478  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$6867e3e5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.534  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$8481e6e2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.552  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.log.SleuthLogAutoConfiguration$Slf4jConfiguration' of type [org.springframework.cloud.sleuth.log.SleuthLogAutoConfiguration$Slf4jConfiguration$$EnhancerBySpringCGLIB$$eed00ac6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.567  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.async.AsyncDefaultAutoConfiguration' of type [org.springframework.cloud.sleuth.instrument.async.AsyncDefaultAutoConfiguration$$EnhancerBySpringCGLIB$$504b9004] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.587  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$RestTemplateConfig' of type [org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$RestTemplateConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.592  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.web.TraceHttpAutoConfiguration' of type [org.springframework.cloud.sleuth.instrument.web.TraceHttpAutoConfiguration$$EnhancerBySpringCGLIB$$4ee5ed34] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.603  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.autoconfig.TraceAutoConfiguration' of type [org.springframework.cloud.sleuth.autoconfig.TraceAutoConfiguration$$EnhancerBySpringCGLIB$$a16500f8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.622  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.context.properties.ConversionServiceDeducer$Factory' of type [org.springframework.boot.context.properties.ConversionServiceDeducer$Factory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.626  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.sleuth-org.springframework.cloud.sleuth.autoconfig.SleuthProperties' of type [org.springframework.cloud.sleuth.autoconfig.SleuthProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.634  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthPropagation' of type [brave.propagation.B3Propagation$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.643  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'slf4jSpanLogger' of type [org.springframework.cloud.sleuth.log.Slf4jCurrentTraceContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.652  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'noOpSpanReporter' of type [zipkin2.reporter.Reporter$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.658  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthTraceSampler' of type [brave.sampler.Sampler$2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.667  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthTracing' of type [brave.Tracing$Default] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.680  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthHttpTracing' of type [brave.http.AutoValue_HttpTracing] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.692  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'tracingClientHttpRequestInterceptor' of type [brave.spring.web.TracingClientHttpRequestInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-02-27 17:28:08.694  INFO [hello-test,,,] 77995 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$RestTemplateConfig$TraceInterceptorConfiguration' of type [org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$RestTemplateConfig$TraceInterceptorConfiguration$$EnhancerBySpringCGLIB$$695d1236] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

There seems to be more of these than when using Finchley.M6.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions