pull/4/head
3y 3 years ago
parent 164acd36ab
commit 3d2996cacb

@ -15,7 +15,7 @@ import org.springframework.stereotype.Service;
import java.util.Date;
/**
* @author 3y
* @author 3y.
* @date 2021/12/12
*
*/

@ -13,7 +13,7 @@ import org.springframework.stereotype.Service;
/**
*
* @author 3y
* @author 3y.
*/
@Service
public class DiscardMessageService {

@ -63,16 +63,29 @@
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!--监控.-->
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client-config-data</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client</artifactId>
</dependency>
<dependency>
<groupId>cn.monitor4all</groupId>
<artifactId>log-record-starter</artifactId>
</dependency>
</dependencies>
</project>

@ -10,7 +10,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class AustinApplication {
public static void main(String[] args) {
// TODO apollo的地址
// TODO apollo的地址.
//System.setProperty("apollo.config-service", "http://ip:7000");
SpringApplication.run(AustinApplication.class, args);
}

@ -66,4 +66,4 @@ apollo:
bootstrap:
enabled: true
namespaces: boss.austin
# tomcat / HikariPool(数据库连接池 配置) TODO
# tomcat / .HikariPool(数据库连接池 配置) TODO

@ -75,13 +75,12 @@
<version>3.1.390</version>
</dependency>
<!--apollo-->
<!--apollo.-->
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client-config-data</artifactId>
<artifactId>apollo-client</artifactId>
<version>1.9.1</version>
</dependency>
<!--注解打印日志-->
<dependency>
<groupId>cn.monitor4all</groupId>
@ -96,6 +95,7 @@
<version>1.6.2</version>
</dependency>
</dependencies>
</dependencyManagement>

Loading…
Cancel
Save