{"id":56416,"library":"spring-cloud-starter-netflix-hystrix","title":"Spring Cloud Starter Netflix Hystrix","description":"Spring Cloud starter for Netflix Hystrix, providing circuit breaker and fault tolerance for microservices.","status":"active","version":"2.2.10.RELEASE","language":"java","source_language":null,"source_url":"https://github.com/spring-cloud/spring-cloud-netflix","tags":["spring","cloud","hystrix","circuit-breaker","netflix"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework.cloud</groupId>\n  <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>\n  <version>2.2.10.RELEASE</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework.cloud:spring-cloud-starter-netflix-hystrix:2.2.10.RELEASE'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"HystrixCommand","correct":"com.netflix.hystrix.HystrixCommand"}],"quickstart":{"code":"import com.netflix.hystrix.HystrixCommand;\nimport com.netflix.hystrix.HystrixCommandGroupKey;\n\npublic class MyCommand extends HystrixCommand<String> {\n    protected MyCommand() {\n        super(HystrixCommandGroupKey.Factory.asKey(\"ExampleGroup\"));\n    }\n\n    @Override\n    protected String run() throws Exception {\n        return \"Success\";\n    }\n\n    @Override\n    protected String getFallback() {\n        return \"Fallback\";\n    }\n}","lang":"java","description":"Defines a Hystrix command with a fallback method."},"warnings":[{"fix":"Replace Hystrix with Resilience4j circuit breaker and rate limiter.","message":"Hystrix is in maintenance mode; consider using Resilience4j for new projects.","severity":"breaking","affected_versions":"*"}],"env_vars":null,"search_vec":"'breaker':14,25 'circuit':13,24 'circuit-break':23 'cloud':2,7,21 'fault':16 'hystrix':5,11,22 'microservic':19 'netflix':4,10,26 'provid':12 'spring':1,6,20 'starter':3,8 'toler':17","created_at":"2026-06-15T10:35:42.969490+00:00","updated_at":"2026-06-15T10:35:42.969490+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://projects.spring.io/spring-cloud","github":"https://github.com/spring-cloud/spring-cloud-netflix","docs":"https://appdoc.app/artifact/org.springframework.cloud/spring-cloud-starter-netflix-hystrix/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cloud"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}