This is an automated email from the ASF dual-hosted git repository.
kerwin pushed a commit to branch 1.3.9-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/1.3.9-prepare by this push:
new 0613c08 [1.3.9-prepare]add logger server and alert server (#6559)
0613c08 is described below
commit 0613c0821d486c0edce10e3607946d1e670143f2
Author: Kirs <[email protected]>
AuthorDate: Mon Oct 18 19:30:30 2021 +0800
[1.3.9-prepare]add logger server and alert server (#6559)
---
.../org/apache/dolphinscheduler/server/StandaloneServer.java | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
a/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java
b/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java
index 59c6e51..d8e2a64 100644
---
a/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java
+++
b/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java
@@ -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());