Implement recovery transactions by following these steps:
- Create a new Maven project ch10-hystrix and add the core starter POM dependencies of Spring Boot 2.0 such as the webflux, embedded Tomcat server and the actuator. To import Hystrix modules, add first the Spring Cloud Finchley dependency plugin to pom.xml.
- Then, add the Spring Cloud Netflix Hystrix dependencies to pom.xml:
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-hystrix</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-hystrix-dashboard </artifactId> </dependency> Inside the core org.packt.microservice.hystrix package, create the bootstrap class that ...