Motiva-AI / clj-sqs-extended

Client library for AWS SQS with support for large messages, up to 2GB. This is a Clojure wrapper for https://github.com/awslabs/amazon-sqs-java-extended-client-lib
MIT License
3 stars 0 forks source link

use a single client object #112

Closed Quantisan closed 3 years ago

Quantisan commented 4 years ago

@daisybytes is right. we should not be creating a new client object on each use. the AWS client builder keeps a HTTP connection pool so we should encourage user of this library to share a single client. https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/creating-clients.html