wenyyo commented on issue #10118:
URL: https://github.com/apache/dubbo/issues/10118#issuecomment-2254824529

   > > 如果服务都提供和消费的情况下两个,如何解决
   > 
   > check 配置为 false。这种使用方式在生产中是不应该出现的,应该加速被重构掉
   
   
   
   > `@DubboReference(check = 
false)`的作用是在检测报错的时候不中断初始化,如果过程中出现还是连接不上日志可能还是要记录的,否则都不知道情况。这个报错本身不会有严重的影响,但是建议先初始化provider再初始化消费者
   
   配置中加了dubbo.reference.check=false且注解@DubboReference(check = false) 
服务启动的时候仍然会校验提供方是否注册,如果提供方没注册,自己服务就起不来了,理论上说应该不会影响自己服务的启动了吧?


-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to