From 6ba128af2912aab66113f3015a7ab2c10ab40566 Mon Sep 17 00:00:00 2001 From: 3y Date: Fri, 5 Aug 2022 22:04:02 +0800 Subject: [PATCH] update comment --- .../src/main/java/com/java3y/austin/AustinApplication.java | 7 ++++++- austin-web/src/main/resources/application.properties | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/austin-web/src/main/java/com/java3y/austin/AustinApplication.java b/austin-web/src/main/java/com/java3y/austin/AustinApplication.java index 2f92a06..93be36b 100644 --- a/austin-web/src/main/java/com/java3y/austin/AustinApplication.java +++ b/austin-web/src/main/java/com/java3y/austin/AustinApplication.java @@ -11,7 +11,12 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; public class AustinApplication { public static void main(String[] args) { - // TODO 如果你需要使用apollo,将application.properties配置文件的 apollo.enabled 改为true + /** + * 如果你需要启动Apollo动态配置 + * 1、启动apollo + * 2、将application.properties配置文件的 austin.apollo.enabled 改为true + * 3、下方的property替换真实的ip和port + */ System.setProperty("apollo.config-service", "http://austin.apollo.config:5001"); SpringApplication.run(AustinApplication.class, args); } diff --git a/austin-web/src/main/resources/application.properties b/austin-web/src/main/resources/application.properties index 5e8d15f..2de4250 100644 --- a/austin-web/src/main/resources/application.properties +++ b/austin-web/src/main/resources/application.properties @@ -14,7 +14,7 @@ austin.redis.port=5003 austin.redis.password=austin # TODO choose : kafka/eventBus/rocketMq/rabbitMq, default eventBus -austin.mq.pipeline=kafka +austin.mq.pipeline=eventBus # todo [kafka] ip/port【optional】, if austin.mq.pipeline=kafka 【must】 austin.kafka.ip=austin.kafka