Skip to content

Commit 0613c08

Browse files
authored
[1.3.9-prepare]add logger server and alert server (#6559)
1 parent 4769d4d commit 0613c08

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Diff for: dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,24 @@ public static void main(String[] args) throws Exception {
5959

6060
startRegistry();
6161

62-
// startAlertServer();
63-
6462
new SpringApplicationBuilder(
6563
ApiApplicationServer.class,
6664
MasterServer.class,
67-
WorkerServer.class,
68-
LoggerServer.class
65+
WorkerServer.class
6966
).run(args);
67+
68+
startLoggerServer();
69+
startAlertServer();
7070
}
7171

7272
private static void startAlertServer() {
7373
AlertServer.getInstance().start();
7474
}
7575

76+
private static void startLoggerServer(){
77+
new LoggerServer().start();
78+
}
79+
7680
private static void startRegistry() throws Exception {
7781
final TestingServer server = new TestingServer(true);
7882
System.setProperty("zookeeper.quorum", server.getConnectString());

0 commit comments

Comments
 (0)