apache / apache/incubator-seata-samples
springcloud-eureka-seata 无法注册GlobalTransactionScanner 组件.需要手动注册
Open
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
```java
@Bean
public GlobalTransactionScanner getScanner() {
return new GlobalTransactionScanner("my_test_tx_group");
}
```
需要手动将组件注入spring.
Contributor guide
Research direction
Start by reproducing the Spring Cloud Eureka and Seata setup described in the issue, then inspect how GlobalTransactionScanner is registered. The issue names no files or tests, so first identify the relevant sample entry point and registration path. Done means the component registers without requiring the shown manual @Bean injection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100