apache / apache/incubator-seata-samples
can not get cluster name in registry config 'service.vgroupMapping.account-service-fescar-service-group', please make sure registry config correct
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
seata-server 启动后,启动account-service报错。
```
can not get cluster name in registry config 'service.vgroupMapping.account-service-fescar-service-group', please make sure registry config correct
```
https://github.com/seata/seata-samples/blob/master/springcloud-jpa-seata/account-service/src/main/resources/file.conf
把
```
vgroupMapping.my_test_tx_group = "default"
```
改成
```
vgroupMapping.account-service-fescar-service-group = "default"
```
不再报错
Contributor guide
Research direction
Start with springcloud-jpa-seata/account-service/src/main/resources/file.conf and compare the configured vgroupMapping key with the service group named in the startup error. Run seata-server, then start account-service to verify that it no longer reports a missing cluster name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100