Arrow Resilience
Route-scoped Ktor plugin that runs the rest of the call pipeline (the route handler) through a resilience Policy and translates rejections to HTTP statuses.
routing {
route("/payments") {
install(ArrowResilience) {
policy = rateLimiter.asPolicy() + circuitBreaker.asPolicy()
}
get { call.respondText("ok") }
}
}Content copied to clipboard