Hi, I want to share a small work in progress library I've been creating for cron inspired job scheduling built with only kotlinx-datetime and kotlinx-coroutines. It's just reached its first
Hey! This looks pretty good. Nice explanation about the goals and non-goals.
I think it would be nice to have an integration for CircuitBreaker and Schedule for integrated failure management, what do you think?
k
kevin.cianfarini
02/09/2024, 5:08 PM
I donโt use Arrow. Do you mind trying to elaborate how you think circuit breaking and schedule would integrate?
c
CLOVIS
02/11/2024, 2:55 PM
It would provide features such as "if the job failed X times, then wait X time before retrying"
k
kevin.cianfarini
02/11/2024, 3:06 PM
Since
Pulse.beat
is just a suspending function, does that need to happen in this library? Or can you just wrap calls to
Pulse.beat
with the CircuitBreaker mechanism?
c
CLOVIS
02/11/2024, 3:07 PM
Possibly. I'll look into it ๐
k
kevin.cianfarini
02/11/2024, 3:11 PM
Thanks. If it turns out to be involved enough I'd be happy to review a PR, but I'm not totally convinced an Arrow integration should live within this library yet