This commit is contained in:
wangchuxiao
2023-03-09 10:28:48 +08:00
parent 040fd345e0
commit e10b0743dc
2 changed files with 3 additions and 3 deletions
+1
View File
@@ -23,6 +23,7 @@ func start(rpcPort int, rpcRegisterName string, prometheusPort int, rpcFn func(c
return err
}
defer listener.Close()
fmt.Println(config.Config.Zookeeper.ZkAddr, config.Config.Zookeeper.Schema)
zkClient, err := openKeeper.NewClient(config.Config.Zookeeper.ZkAddr, config.Config.Zookeeper.Schema, 10, "", "")
if err != nil {
return err