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


   <!-- Please use this template while reporting a bug and provide as much info 
as possible. Not doing so may result in your bug not being addressed in a 
timely manner. Thanks!
   
   -->
   grpc + nacos + custom config
   
   服务端口号:20001
   
   dubbo是自定义的struct
   
   
   **What happened**:
   客户端启动时报错,但是访问正常
   
   
![image](https://user-images.githubusercontent.com/1655596/148930845-7a090054-26b5-4244-a88e-aa000fc663f5.png)
   
   **What you expected to happen**:
   无报错
   **How to reproduce it (as minimally and precisely as possible)**:
   
   `
           var dubbo Dubbo
        config.ConfigGetAndUnmarshal("dubbo", &dubbo)
        fmt.Println(dubbo.Client.Registries)
        rc := dconfig.NewRootConfigBuilder().
                SetConsumer(dubbo.Client.Consumer).
                SetRegistries(dubbo.Client.Registries).
                Build()
        logger.SetLogger(&log.Log{})
        // start dubbo-go framework with configuration
        if err := dconfig.Load(dconfig.WithRootConfig(rc)); err != nil {
                panic(err)
        }
   `
   `
    registries:
       nacosWithCustomGroup:
         protocol: nacos
         timeout: 10s
         address: "test.nacos.xingbeizaixian.com:8848"
         group: dubbo
     consumer:
       references:
         GreeterClientImpl:
           protocol: grpc
           interface: rpc.dubbo.examples.HelloWorldProvider4
   `
   **Anything else we need to know?**:
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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