The public API.
The public API.
(get-all-systems)
Returns all registered systems in no particular order.
Returns all registered systems in no particular order.
(get-system queue-url)
Gets the system for a given queue url. Returns nil if there is no such system.
Gets the system for a given queue url. Returns nil if there is no such system.
(http-client http-opts)
Returns a http client using cognitect's async jetty client wrapper.
Returns a http client using cognitect's async jetty client wrapper.
(running? this)
Is the system currently running?
Is the system currently running?
(start this)
Start polling SQS and processing messages.
Start polling SQS and processing messages.
(stop this)
Stop the system and await completion of in-flight messages.
Stop the system and await completion of in-flight messages.
(processor {:keys [client-opts queue-url consumer-fn producer-parallelism
consumer-parallelism acker-parallelism nacker-parallelism
blocking-consumers transform]
:as opts})
Spawns a set of producers and consumers for a given queue.
Returns an implementation of the PipedSystem protocol which represents a system that can be started and stopped.
Spawns a set of producers and consumers for a given queue. Returns an implementation of the PipedSystem protocol which represents a system that can be started and stopped.
(start-all-systems)
Stop all running systems.
Stop all running systems.
(start-system queue-url)
For a given queue-url, start the associated system (if any).
For a given queue-url, start the associated system (if any).
(stop-all-systems)
Stop all running systems.
Stop all running systems.
(stop-system queue-url)
For a given queue-url, stop the associated system (if any).
For a given queue-url, stop the associated system (if any).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close