Turbine stream

The environments, such as PaaS, the classic Turbine model that pulls metrics from all the distributed Hystrix commands that doesn't work. In such cases, you can push your Hystrix command push metrics to Turbine by using Spring Cloud messaging. These are following dependencies required for your client application:

<dependency> 
   <groupId>org.springframework.cloud</groupId> 
   <artifactId>spring-cloud-starter-netflix-turbine-stream</artifactId> 
</dependency>   
 
<dependency> 
   <groupId>org.springframework.cloud</groupId> 
   <artifactId>spring-cloud-starter-stream-rabbit</artifactId> 
</dependency> 

I have added the spring-cloud-starter-netflix-turbine-stream and the spring-cloud-starter-stream-rabbit Starters. But you can add any messaging broker Starter of Spring cloud, using spring-cloud-starter-stream-*, of your choice. And also, you have to annotate the Spring Boot application class with the @EnableTurbineStream annotation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.107.193