1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

support nacos endpoint first

This commit is contained in:
flystar32
2019-04-09 19:23:37 +08:00
parent 017044e123
commit 8b43605138
2 changed files with 2 additions and 1 deletions

View File

@@ -407,6 +407,7 @@ public class NacosDiscoveryProperties {
properties.put(SECRET_KEY, secretKey);
properties.put(CLUSTER_NAME, clusterName);
properties.put(NAMING_LOAD_CACHE_AT_START, namingLoadCacheAtStart);
properties.put(IS_USE_ENDPOINT_PARSING_RULE, "true");
try {
namingService = NacosFactory.createNamingService(properties);