{"id":63624,"library":"spring-cloud-starter-alibaba-sentinel","title":"Spring Cloud Alibaba Sentinel Starter","description":"Spring Cloud Alibaba Sentinel Starter integrates Sentinel flow control and circuit breaking into Spring Cloud applications.","status":"active","version":"2.2.11","language":"java","source_language":null,"source_url":"https://github.com/alibaba/spring-cloud-alibaba","tags":["spring-cloud","alibaba","sentinel","circuit-breaker","flow-control"],"install":[{"cmd":"<dependency>\n  <groupId>com.alibaba.cloud</groupId>\n  <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>\n  <version>2.2.11</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.alibaba.cloud:spring-cloud-starter-alibaba-sentinel:2.2.11'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"SentinelResource","correct":"com.alibaba.csp.sentinel.annotation.SentinelResource"}],"quickstart":{"code":"import com.alibaba.csp.sentinel.annotation.SentinelResource;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RestController;\n\n@RestController\npublic class DemoController {\n    @GetMapping(\"/hello\")\n    @SentinelResource(value = \"hello\", fallback = \"fallback\")\n    public String hello() {\n        return \"Hello\";\n    }\n    public String fallback(Throwable t) {\n        return \"Fallback\";\n    }\n}","lang":"java","description":"Use @SentinelResource annotation to define flow control rules."},"warnings":[{"fix":"Use version 2.2.11 or later, or align with Spring Cloud Alibaba version mapping.","message":"Version 2.2.x may have compatibility issues with Spring Cloud Hoxton or earlier.","severity":"breaking","affected_versions":"<2.2.11"}],"env_vars":null,"search_vec":"'alibaba':3,8,25 'applic':21 'break':17 'breaker':29 'circuit':16,28 'circuit-break':27 'cloud':2,7,20,24 'control':14,32 'flow':13,31 'flow-control':30 'integr':11 'sentinel':4,9,12,26 'spring':1,6,19,23 'spring-cloud':22 'starter':5,10","created_at":"2026-06-17T16:46:09.623979+00:00","updated_at":"2026-06-17T16:46:09.623979+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://github.com/alibaba/spring-cloud-alibaba/spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-sentinel","github":"https://github.com/alibaba/spring-cloud-alibaba","docs":"https://appdoc.app/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-sentinel/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cloud","observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}