wangxw666 opened a new issue #1213:
URL: https://github.com/apache/dubbo-go/issues/1213


   version : v1.5.7
   1. 元数据中心比配置中心先启动,导致元数据中心的配置放在配置中心中,元数据中心无法启动。
   2. nacos 配置中心账号密码问题
      ```
      ConfigCenterConfig
      func (c *ConfigCenterConfig) GetURLMap() url.Values {
        urlMap := url.Values{}
        urlMap.Set(constant.CONFIG_NAMESPACE_KEY, c.Namespace)
        urlMap.Set(constant.CONFIG_GROUP_KEY, c.Group)
        urlMap.Set(constant.CONFIG_CLUSTER_KEY, c.Cluster)
        urlMap.Set(constant.CONFIG_APP_ID_KEY, c.AppId)
        urlMap.Set(constant.CONFIG_LOG_DIR_KEY, c.LogDir)
        return urlMap
     }
      ```
     没有添加账号密码到url中
    ```
        return clients.CreateConfigClient(map[string]interface{}{
                "serverConfigs": svrConfList,
                "clientConfig": nacosconst.ClientConfig{
                        TimeoutMs:           uint64(int32(timeout / 
time.Millisecond)),
                        ListenInterval:      uint64(int32(timeout / 
time.Millisecond)),
                        NotLoadCacheAtStart: true,
                        LogDir:              
url.GetParam(constant.NACOS_LOG_DIR_KEY, ""),
                        CacheDir:            
url.GetParam(constant.NACOS_CACHE_DIR_KEY, ""),
                        Endpoint:            
url.GetParam(constant.NACOS_ENDPOINT, ""),
                        Username:            
url.GetParam(constant.NACOS_USERNAME, ""),
                        Password:            
url.GetParam(constant.NACOS_PASSWORD, ""),
                        NamespaceId:         
url.GetParam(constant.NACOS_NAMESPACE_ID, ""),
                },
        })
   ```
   使用的常量不一致 一个是confg.xx 一个是nacos常量。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to