← ClaudeAtlas

kora-aop-resilientlisted

Kora resilience aspects — @CircuitBreaker, @Retry, @Timeout, @Fallback (resilient-kora). Use when adding fault tolerance to outbound calls or tuning resilient.* config keys.
kora-projects/kora-skills · ★ 1 · AI & Automation · score 72
Install: claude install-skill kora-projects/kora-skills
# Kora AOP Resilient > **Kora sub-skill — obey the [kora-v1 meta rules](../../SKILL.md) on every task:** **R0** ensure `.kora-agent/` docs+examples are cloned · **R1** read this sub-skill before writing code · **R2** Kora APIs only — no Spring/Micronaut/Quarkus, no invented annotations or config keys · **R3** journal any incorrect Kora usage. Add comments/Javadoc only if asked. Compile-time AOP annotations for fault tolerance: `@Retry`, `@CircuitBreaker`, `@Timeout`, `@Fallback`. They are generated into `$<Class>__AopProxy` classes at build time — no reflection. Provided by the `resilient-kora` module via `ResilientModule`. **Quick Navigation:** - [Quick Start](#quick-start) — get running in four steps - [Combined Pattern](#combined-resilience-pattern) — stack all annotations on one method - [References](#references) — per-aspect deep dives --- ## Quick Start ### 1. Add the dependency and annotation processor ```groovy dependencies { // All Kora artifacts inherit their version from the kora-parent BOM — never pin them individually. annotationProcessor "ru.tinkoff.kora:annotation-processors" // mandatory: generates the AOP proxies implementation "ru.tinkoff.kora:resilient-kora" } ``` > Kotlin uses `ksp "ru.tinkoff.kora:symbol-processors"` instead of `annotationProcessor`. ### 2. Enable ResilientModule ```java @KoraApp public interface Application extends HoconConfigModule, LogbackModule, ResilientModule { } // enables the resilien