Any resilience4j user that can provide more examples?

Hello,

I recently started to use Kotlin and I want to implement some of the old Java’s features provided by a couple of frameworks/libraries. I found I can use resiliency4j for this and retry, circuit breaker and other nice features.

Unfortunately, I dont understand the documentation (that is not quite enough for Kotlin) and I was wondering if someone might already use it and could give me some feedback.


I could make the retry running but by wrapping everything inside a runBlocking{} and then retry on my suspend function, is that a bad practice?

any feedback or suggestions are welcome.

Thanks