Netflix / Turbine

SSE Stream Aggregator
Apache License 2.0
835 stars 255 forks source link

Spring cloud turbine.stream reports no data #108

Open tianhongbo opened 8 years ago

tianhongbo commented 8 years ago

I have deployed the turbine service together with a cluster of "DEVICE-SERVICE" in the cloud. It works well at beginning (The Hystrix data can be viewed both at Hystix Dashboard and terminal). However, it broken after about one day running. I reboot turbine service, but it occurred again.

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.turbine.EnableTurbine;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableDiscoveryClient

@EnableTurbine

@SpringBootApplication

@EnableSwagger2

public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}

BTW: When turbine service works well, the data can be viewed with the following:

  1. On the Dashboard, the data can be viewed via "http://turbine-service.mi-ae.cn/turbine.stream?cluster=DEVICE-SERVICE"
  2. On the terminal, "CURL http://turbine-service.mi-ae.cn/turbine.stream?cluster=DEVICE-SERVICE"

When turbine service breaks, it looks like this:

  1. On the Dashboard: Click to see the picture
  2. On the terminal: Click to see the picture

Hope everyone can help!

spencergibb commented 8 years ago

The spring cloud netflix issues are here https://github.com/spring-cloud/spring-cloud-netflix/issues