zipkin-db 修改

This commit is contained in:
wangiegie@gmail.com 2018-01-25 18:39:26 +08:00
parent b83c651f8e
commit 9ac23d0730
2 changed files with 14 additions and 2 deletions

View File

@ -50,4 +50,16 @@
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<finalName>${project.name}</finalName>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -2,7 +2,7 @@ package com.github.pig.zipkin;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import zipkin.server.EnableZipkinServer;
/**
@ -10,8 +10,8 @@ import zipkin.server.EnableZipkinServer;
* @date 2018-01-24
* zipkin mysql 存储实现
*/
@EnableDiscoveryClient
@SpringBootApplication
@EnableEurekaClient
@EnableZipkinServer
public class PigZipkinDbApplication {
public static void main(String[] args) {