apache / apache/incubator-seata-samples

seata 1.4 nacos配置的dataid sevice.vgroup-mapping已经变成service.vgroupMapping

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

Description

default String getServiceGroup(String key) {
key = "service.vgroupMapping." + key;
if (!SERVICE_GROUP_NAME.contains(key)) {
ConfigurationCache.addConfigListener(key, new ConfigurationChangeListener[0]);
SERVICE_GROUP_NAME.add(key);
}

return ConfigurationFactory.getInstance().getConfig(key);
}

Contributor guide

Open the contributing guide

Research direction

Start by locating the getServiceGroup method shown in the issue and inspect how ConfigurationFactory resolves the Nacos data ID. Compare the service.vgroup-mapping and service.vgroupMapping names against the Seata 1.4 configuration; done means the sample uses the current key and the configuration lookup works.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.