PowerJob icon indicating copy to clipboard operation
PowerJob copied to clipboard

请问有没有微服务集成server启动的方案呢?

Open answerJerry opened this issue 2 years ago • 2 comments

Question

Before asking a question, make sure you have(在提问之前,请确保你已经):

  • Read documentation(仔细阅读了官方文档)
  • Googled your question(百度搜索了你的问题)
  • Searched open and closed GitHub issues(搜索了开放和关闭的 GitHub issues)

Please pay attention on issues you submitted, because we maybe need more details.

请问有没有微服务集成server启动的方案呢? 4.3.3版本,使用jar包启动的server, 在项目里集成了worker, 但是连不上server。感觉是局域网的问题,在集成server时遇到问题,请问大佬们有没有在微服务中集成server的案例参考,谢谢。

answerJerry avatar Nov 15 '23 09:11 answerJerry

支持的,目前 ruoyi 那个框架就这样做了。Powerjob-server 也有完整的 jar 包发布到仓库

KFCFans avatar Nov 16 '23 13:11 KFCFans

server就让它保持单一职责吧,毕竟它是负责整个调度的核心,对IO,网络,存储都有自己的要求,不建议跟业务微服务绑定在一块,你甚至可以将server这个服务注册到你的注册中心去

linwei-scholar avatar Jan 10 '24 08:01 linwei-scholar