Simple, Reliable & Scalable background processing library for Clojure.
Simplicity is Complicated. We've strived to make Goose as simple as possible.
Note: Goose will be ready for production usage after completion of Project 0.2
(ns my-app
(:require [goose.client :as c]))
(defn my-background-fn
[arg1 arg2]
(println "my-background-fn called with" arg1 arg2))
(c/perform-async c/default-opts `my-background-fn "foo" :bar)
(c/perform-in-sec c/default-opts 3600 `my-background-fn "scheduled" 123)
(ns my-worker
(:require [goose.worker :as w]))
(let [worker (w/start w/default-opts)]
; ... wait for SIGINT or SIGTERM ...
(w/stop worker))
Goose provisions custom configuration for Message-Broker, Priority Queues, Scheduling, Error-Handling & Retrying, Logging, & Worker Config. Details can be found in the respective Wikis (awaiting completion).
🦆 Logo loading...
Goose library is named after Nick 'Goose' Bradshaw, the sidekick to Captain Pete 'Maverick' Mitchell in Top Gun.
Please see LICENSE for licensing details.
Can you improve this documentation? These fine people already did:
akshat & AkshatEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close