Skip to content

feat(java-spring): add java-resilience skill#11

Merged
ducpm2303 merged 1 commit intomainfrom
feat/skill-java-resilience
Apr 6, 2026
Merged

feat(java-spring): add java-resilience skill#11
ducpm2303 merged 1 commit intomainfrom
feat/skill-java-resilience

Conversation

@ducpm2303
Copy link
Copy Markdown
Owner

Covers Resilience4J for Spring Boot 2.x and 3.x:

  • review mode: audits existing config for missing thresholds, wrong retry/circuit-breaker stacking, retrying business errors, no actuator
  • circuit-breaker mode: COUNT_BASED sliding window, slow-call threshold, state transition logging via CircuitBreakerOnStateTransitionEvent
  • retry mode: exponential backoff, ignore-exceptions for 4xx/business errors, result predicate for HTTP status codes
  • rate-limiter mode: per-period limits with permit timeout
  • bulkhead mode: semaphore vs thread-pool bulkhead choice guide
  • timeout mode: @Timelimiter for async (CompletableFuture/Flux)

references/patterns.md has full application.yml + Java code for all modes, annotation stacking order, and Actuator endpoint reference.

Covers Resilience4J for Spring Boot 2.x and 3.x:
- review mode: audits existing config for missing thresholds, wrong
  retry/circuit-breaker stacking, retrying business errors, no actuator
- circuit-breaker mode: COUNT_BASED sliding window, slow-call threshold,
  state transition logging via CircuitBreakerOnStateTransitionEvent
- retry mode: exponential backoff, ignore-exceptions for 4xx/business
  errors, result predicate for HTTP status codes
- rate-limiter mode: per-period limits with permit timeout
- bulkhead mode: semaphore vs thread-pool bulkhead choice guide
- timeout mode: @Timelimiter for async (CompletableFuture/Flux)

references/patterns.md has full application.yml + Java code for all
modes, annotation stacking order, and Actuator endpoint reference.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ducpm2303 ducpm2303 merged commit a65f12b into main Apr 6, 2026
1 of 2 checks passed
@ducpm2303 ducpm2303 deleted the feat/skill-java-resilience branch April 6, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant