Registry / cloud / spring-cloud-netflix-hystrix

spring-cloud-netflix-hystrix

JSON →
library2.2.10.RELEASEjavamavenunverified

Spring Cloud integration with Netflix Hystrix for circuit breaker and fault tolerance in microservices.

<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-netflix-hystrix</artifactId> <version>2.2.10.RELEASE</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CLOUD-NETFL
S
spring-cloud-netflix-hystrix
cloudjavav2.2.10.RELEASE
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HystrixCommand
com.netflix.hystrix.HystrixCommand

Defines a Hystrix command with fallback logic.

import com.netflix.hystrix.HystrixCommand; import com.netflix.hystrix.HystrixCommandGroupKey; public class MyCommand extends HystrixCommand<String> { protected MyCommand() { super(HystrixCommandGroupKey.Factory.asKey("ExampleGroup")); } @Override protected String run() throws Exception { return "Success"; } @Override protected String getFallback() { return "Fallback"; } }
Debug
Known issues
gotchaHystrix is in maintenance mode; consider using Resilience4j instead.
fix
Replace Hystrix with Resilience4j for active development.
affects: *
Upgrade
Version history
2.2.10.RELEASElatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources