未验证 提交 0613c082 编写于 作者: K Kirs 提交者: GitHub

[1.3.9-prepare]add logger server and alert server (#6559)

上级 4769d4d7
......@@ -59,20 +59,24 @@ public class StandaloneServer {
startRegistry();
// startAlertServer();
new SpringApplicationBuilder(
ApiApplicationServer.class,
MasterServer.class,
WorkerServer.class,
LoggerServer.class
WorkerServer.class
).run(args);
startLoggerServer();
startAlertServer();
}
private static void startAlertServer() {
AlertServer.getInstance().start();
}
private static void startLoggerServer(){
new LoggerServer().start();
}
private static void startRegistry() throws Exception {
final TestingServer server = new TestingServer(true);
System.setProperty("zookeeper.quorum", server.getConnectString());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册