apache / apache/incubator-seata
sleuth 和 seata中相同bean feignHystrixBuilder
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
The bean 'feignHystrixBuilder', defined in class path resource [org/springframework/cloud/sleuth/instrument/web/client/feign/TraceFeignClientAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/alibaba/cloud/seata/feign/SeataFeignClientAutoConfiguration.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
Contributor guide
Research direction
Start by examining TraceFeignClientAutoConfiguration from Spring Cloud Sleuth and SeataFeignClientAutoConfiguration, then reproduce the startup failure with both integrations enabled. Determine which configuration owns the feignHystrixBuilder bean and verify that the application starts without duplicate bean registration while bean overriding remains disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100