https://kotlinlang.org logo
#announcements
Title
# announcements
n

Nezteb

08/14/2019, 8:57 PM
Does there exist a lib for Kotlin similar to https://www.hangfire.io/ in C#? Something for processing background jobs? I assume coroutines can be used this way, but they don’t have a builtin method for batching/retry logic that I know of.
j

josh

08/14/2019, 9:00 PM
Have you taken a gander at Spring batch and other Java related batch APIs?
n

Nezteb

08/14/2019, 9:02 PM
I’m familiar with Batch but this project does not use Spring. I’d rather avoid an entire DI framework just for batching.
“other Java related batch APIs” is the kind of thing I’m asking about; I know of none other than Spring Batch.
👍 1
p

Pablichjenkov

08/14/2019, 9:15 PM
I have no experience with Hangfire in particular. Have not seen similar library either. For sure you could do a Task Manager program using kotlin Coroutines. I see they announce
fire and forget
kind of paradigm, normally Coroutines are more like
fire and control
philosophy. Structured Concurrency as first class citizen.
n

nfrankel

08/14/2019, 9:15 PM
unrelated to kotlin but quartz is probably your best bet http://www.quartz-scheduler.org/
14 Views