apache / apache/rocketmq-spring

BUG REPORT: bean getting eagerly injected into a currently created BeanPostProcessor【RocketMQMessageListenerBeanPostProcessor】

Open
#646 5 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
943
PR merge metrics
No merged PRs in 30d

Description

The issue tracker is **ONLY** used for bug report and feature request.

Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/).

**BUG REPORT**

1. Please describe the issue you observed:

- What did you do (The steps to reproduce)?

- What did you expect to see?

- What did you see instead? `2024-03-18T15:00:42.421+08:00 WARN 98860 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] 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 [org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
`
2. Please tell us about your environment: spring-boot3.2.3 spring-cloud.version 2023.0.0 rocketmq-spring-boot-starter 2.3.0

3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
截屏2024-03-18 15 33 50

**FEATURE REQUEST**

1. Please describe the feature you are requesting.

2. Provide any additional detail on your proposed use case for this feature.

3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the warning with Spring Boot 3.2.3, Spring Cloud 2023.0.0, and rocketmq-spring-boot-starter 2.3.0. Inspect RocketMQMessageListenerBeanPostProcessor and its dependencies; done means the eager-injection warning is resolved without breaking listener processing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.