其他分享
首页 > 其他分享> > Spring Cloud 集成 Turbine

Spring Cloud 集成 Turbine

作者:互联网

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-netflix-turbine</artifactId>
    <exclusions>
        <exclusion>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
        </exclusion>
    </exclusions>
</dependency>
turbine:
  app-config: service-screen
  aggregator:
    cluster-config: service-screen
@EnableTurbine
@EnableDiscoveryClient
@SpringBootApplication
public class AdminTurbine {
    public static void main(String[] args) {
        SpringApplication.run(AdminTurbine.class, args);
    }
}
http://ip:port/turbine.stream?cluster=service-screen

 

标签:service,Spring,screen,cluster,Cloud,spring,Turbine,turbine,cloud
来源: https://blog.csdn.net/ctlongs/article/details/115707291