ilaotan commented on issue #12552:
URL: https://github.com/apache/dubbo/issues/12552#issuecomment-1999071065

   更近下进度,服务端没开启sasl鉴权的情况下,zk客户端默认初始化了个saslclient,初始化一些必要参数时非常慢,可能导致超时。解决方案  
springboot启动入口 添加一个参数 System.setProperty("zookeeper.sasl.client", "false");
   
   ps 
如果服务端开着sasl,那上面参数就别加了。如果还是启动慢,看看duboo启动时org.apache.zookeeper.SaslServerPrincipal#getServerPrincipal(org.apache.zookeeper.SaslServerPrincipal.WrapperInetSocketAddress,
 org.apache.zookeeper.client.ZKClientConfig)  方法耗时是否正常


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