client
argument mandatory.Rewrite start-consumer like below.
;; before (using default client)
(gluttony/start-consumer queue-url consume {:num-workers 1})
;; before (using custom client)
(gluttony/start-consumer queue-url consume {:client client :num-workers 1})
;; after (using default client)
(require '[gluttony.record.cognitect-sqs-client :as g.client])
(gluttony/start-consumer queue-url consume (g.client/make-client) {:num-workers 1})
;; after (using custom client)
(require '[gluttony.record.cognitect-sqs-client :as g.client])
(gluttony/start-consumer queue-url consume (g.client/make-client client) {:num-workers 1})
And add api packages com.cognitect.aws/api
, com.cognitect.aws/endpoints
and com.cognitect.aws/sqs
to dependencies.
com.cognitect.aws/api
) are now available.
** aws-api is still available as gluttony.record.cognitect-sqs-client
.
** AWS SDK for Java 2.0 is available as gluttony.record.aws-sdk-client
.
** If you want to use other clients, you can implement gluttony.protocols/ISqsClient
.:visibility-timeout-in-heartbeat
option to control visibility timeout in heartbeat mode.respond
and raise
not to take extra signs when these functions are called more than once.start-receivers
and stop-receivers
functions.Update dependencies (#6).
Fix order to make a sign of consuming.
Bump library versions.
Add :consume-limit
option.
Add heartbeat suppoert.
Initial release.
Can you improve this documentation? These fine people already did:
egs33, makinoshi, github-actions, liquidz & Shuta EguchiEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close