Kora Aop Resilient

Kora 2.x resilience aspects (io.koraframework:resilient-kora) — @CircuitBreakable, @Retryable, @Timeout, @RateLimited, @Fallback. In 2.0 every aspect takes a typed spec interface (@CircuitBreakerSpec/@RetrySpec/@TimeoutSpec/@RateLimiterSpec on an interface extending CircuitBreaker/Retry/Timeouter/RateLimiter) instead of a string name. Use when adding fault tolerance to outbound HTTP/gRPC/DB calls, wiring resilient.* config (countBased.windowSize, failureRateThreshold, attempts, delay, duration, limitForPeriod, TOKEN_BUCKET/FIXED_WINDOW), binding a CircuitBreakerPredicate/RetryPredicate/RetryBudgetFactory by @Tag, excluding exceptions via NonRetryableException/NonCircuitableException, Redis-shared limits (@RateLimiterDistributedSpec, DistributedRetryBudgetFactory), or porting Kora 1.x @CircuitBreaker("name")/@Retry("name") string annotations.

kora-projects Updated 2 repo stars

File contents

kora-projects/kora-skills commit b1f64ab7cd

Frequently asked questions

npx get-skill add kora-projects/kora-aop-resilient-2