You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/04/08 06:31:07 UTC

[GitHub] [servicecomb-java-chassis] Shoothzj opened a new issue #2348: Allow to control the timing to register to the service center

Shoothzj opened a new issue #2348:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2348


   How could I register to the service center after the `heavy resources` are ready? 


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

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



[GitHub] [servicecomb-java-chassis] Shoothzj commented on issue #2348: Allow to control the timing to register to the service center

Posted by GitBox <gi...@apache.org>.
Shoothzj commented on issue #2348:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2348#issuecomment-816333200


   > 可以考虑在注册前按照业务实际逻辑进行等待,参考事件说明: https://docs.servicecomb.io/java-chassis/zh_CN/build-provider/event-listener/
   
   这个在Spring的main线程,想阻塞的事情也在main线程的场景,这个是不是就很困难了,


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

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



[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2348: Allow to control the timing to register to the service center

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #2348:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2348#issuecomment-816333723


   如果是同一个线程, 那么需要处理的只是加载顺序问题。 java-chassis的注册在CseApplicationListener里面,可以参考。 


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

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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2348: Allow to control the timing to register to the service center

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2348:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2348#issuecomment-816333723


   如果是同一个线程, 那么需要处理的只是加载顺序问题。 


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

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



[GitHub] [servicecomb-java-chassis] Shoothzj closed issue #2348: Allow to control the timing to register to the service center

Posted by GitBox <gi...@apache.org>.
Shoothzj closed issue #2348:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2348


   


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

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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2348: Allow to control the timing to register to the service center

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2348:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2348#issuecomment-816331168


   可以考虑在注册前按照业务实际逻辑进行等待,参考事件说明: https://docs.servicecomb.io/java-chassis/zh_CN/build-provider/event-listener/


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

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