7.3.8 Netflix Hystrix Support

Using the CLI

If you are creating your project using the Micronaut CLI, supply the netflix-hystrix feature to configure Hystrix in your project:

  1. $ mn create-app my-app features netflix-hystrix

Netflix Hystrix is a fault tolerance library developed by the Netflix team and designed to improve resilience of inter process communication.

Micronaut features integration with Hystrix through the netflix-hystrix module, which you can add to your build.gradle or pom.xml:

  1. implementation("io.micronaut.netflix:micronaut-netflix-hystrix")
  1. <dependency>
  2. <groupId>io.micronaut.netflix</groupId>
  3. <artifactId>micronaut-netflix-hystrix</artifactId>
  4. </dependency>