Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hemin1003 committed Mar 27, 2017
1 parent 87bf2a0 commit 308ed25
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.

This file was deleted.

@@ -0,0 +1,19 @@
package com.minbo.cloud.study.turbine;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
* 在复杂的分布式系统中,相同服务的节点经常需要部署上百甚至上千个,很多时候,运维人员希望能够把相同服务的节点状态以一个整体集群的形式展现出来,
* 这样可以更好的把握整个系统的状态。为此,Netflix提供了一个开源项目(Turbine)来提供把多个hystrix.stream的内容聚合为一个数据源供Dashboard展示。
*
* 通过@EnableTurbine接口,激活对Turbine的支持。
*/
@SpringBootApplication
@EnableTurbine
public class TurbineApplication {
public static void main(String[] args) {
new SpringApplicationBuilder(TurbineApplication.class).web(true).run(args);
}
}

0 comments on commit 308ed25

Please sign in to comment.