A consumer is a worker (see ottla.worker) plus what wakes it: a poll
schedule and, optionally, a listener's notifications. The listener is
either the consumer's own or shared with other consumers.
A consumer is a worker (see `ottla.worker`) plus what wakes it: a poll schedule and, optionally, a listener's notifications. The listener is either the consumer's own or shared with other consumers.
(start-listening-consumer config listener selection handler opts)Start a consumer that shares listener. See
ottla.core/start-listening-consumer.
Start a consumer that shares `listener`. See `ottla.core/start-listening-consumer`.
(start-poll-only-consumer config selection handler opts)Start a poll-only consumer, with no listener. See
ottla.core/start-poll-only-consumer.
Start a poll-only consumer, with no listener. See `ottla.core/start-poll-only-consumer`.
(start-standalone-consumer config
selection
handler
{:keys [exception-handler listen-min-ms listen-max-ms
listen-ms reconnect-ms await-close-ms]
:or {listen-min-ms 10
await-close-ms 1000
reconnect-ms 2000
exception-handler default-exception-handler}
:as opts})Start a standalone consumer, with a listener of its own. See
ottla.core/start-standalone-consumer.
Start a standalone consumer, with a listener of its own. See `ottla.core/start-standalone-consumer`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |