- Make the
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.
- AWS API clients other than aws-api (
com.cognitect.aws/api
) are now available. ** aws-api is still available asgluttony.record.cognitect-sqs-client
. ** AWS SDK for Java 2.0 is available asgluttony.record.aws-sdk-client
. ** If you want to use other clients, you can implementgluttony.protocols/ISqsClient
.
- Bump library versions.
- Add
:visibility-timeout-in-heartbeat
option to control visibility timeout in heartbeat mode.
- Fixed
respond
andraise
not to take extra signs when these functions are called more than once.
- Updated to use Clojure CLI instead of Leiningen.
- Add
start-receivers
andstop-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.