{"id":29492669,"url":"https://github.com/builtbyanthony/springboot-resilience4j-demo","last_synced_at":"2026-04-16T11:03:11.041Z","repository":{"id":303330694,"uuid":"1015101633","full_name":"builtbyanthony/springboot-resilience4j-demo","owner":"builtbyanthony","description":"Spring Boot app with Resilience4j for Retry \u0026 CircuitBreaker","archived":false,"fork":false,"pushed_at":"2025-07-07T03:05:35.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-16T05:46:34.600Z","etag":null,"topics":["backend","circuit-breaker","fault-tolerance","java","microservices","resilience4j","retry-pattern","spring-boot","system-design"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/builtbyanthony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-07T02:26:32.000Z","updated_at":"2025-07-07T03:20:01.000Z","dependencies_parsed_at":"2025-07-07T04:23:50.004Z","dependency_job_id":"21d56526-3787-4c8d-82bd-e514a28f0fa7","html_url":"https://github.com/builtbyanthony/springboot-resilience4j-demo","commit_stats":null,"previous_names":["builtbyanthony/springboot-resilience4j-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/builtbyanthony/springboot-resilience4j-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builtbyanthony%2Fspringboot-resilience4j-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builtbyanthony%2Fspringboot-resilience4j-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builtbyanthony%2Fspringboot-resilience4j-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builtbyanthony%2Fspringboot-resilience4j-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/builtbyanthony","download_url":"https://codeload.github.com/builtbyanthony/springboot-resilience4j-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/builtbyanthony%2Fspringboot-resilience4j-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275071560,"owners_count":25400399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","circuit-breaker","fault-tolerance","java","microservices","resilience4j","retry-pattern","spring-boot","system-design"],"created_at":"2025-07-15T15:28:11.029Z","updated_at":"2026-04-16T11:03:11.012Z","avatar_url":"https://github.com/builtbyanthony.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Resilient Service with Spring Boot + Resilience4j\n\nA demo Spring Boot application demonstrating the use of **Resilience4j** with `@Retry` and `@CircuitBreaker` annotations to build fault-tolerant APIs.\n\n## 🔧 Tech Stack\n\n- Java 17+\n- Spring Boot\n- Resilience4j\n- Spring Boot Actuator\n- Maven\n\n## ⚙️ Features\n\n- ✅ Auto-retries transient failures using `@Retry`\n- ✅ Prevents cascading failures using `@CircuitBreaker`\n- ✅ Graceful fallback responses\n- ✅ Live circuit breaker status via Actuator endpoints\n\n## 🚀 How It Works\n\n### Simulated Unreliable Service\n\nThe service randomly throws exceptions:\n```java\nif (Math.random() \u003c 0.7) {\n    throw new RuntimeException(\"Simulated failure\");\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuiltbyanthony%2Fspringboot-resilience4j-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuiltbyanthony%2Fspringboot-resilience4j-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuiltbyanthony%2Fspringboot-resilience4j-demo/lists"}