AlexStocks commented on code in PR #856:
URL: https://github.com/apache/dubbo-go-samples/pull/856#discussion_r2156979106
##########
metrics/go-server/cmd/main.go:
##########
@@ -56,7 +56,8 @@ func main() {
}
ins, err := dubbo.NewInstance(
dubbo.WithRegistry(
- registry.WithAddress("zookeeper://"+zookeeper+":2181"),
+ registry.WithZookeeper(),
+ registry.WithAddress("127.0.0.1:2181"),
Review Comment:
> 用yaml配置文件也是要直接写地址的
代码里直接写死,跟在配置文件里面配置地址,是一回事吗?
--
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]