You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SQS/SNS producer/consumer library. Provides an ability to pass payloads though s3.
6
6
7
7
## Motivation
8
8
9
-
[Aspecto](https://www.aspecto.io/?utm_source=github&utm_medium=sqs-sns-big-payload&utm_campaign=readme-p1&utm_content=v1) helps modern development teams solve production issues before they evolve. We collect real production data and perform deep API analysis over it to autogenerate tests and monitor services stability. As a result, we often need to handle large payloads which can't be used with SQS & SNS due to the hard size limit. This library was developed to overcome this challenge - it enables you to manage Amazon SNS & SQS message payloads with Amazon S3 when dealing with payloads larger than 256KB. Key functionality includes:
9
+
> From Original Author...
10
+
> [Aspecto](https://www.aspecto.io/?utm_source=github&utm_medium=sqs-sns-big-payload&utm_campaign=readme-p1&utm_content=v1) helps modern development teams solve production issues before they evolve. We collect real production data and perform deep API analysis over it to autogenerate tests and monitor services stability. As a result, we often need to handle large payloads which can't be used with SQS & SNS due to the hard size limit. This library was developed to overcome this challenge - it enables you to manage Amazon SNS & SQS message payloads with Amazon S3 when dealing with payloads larger than 256KB. Key functionality includes:
10
11
11
12
- Controlling whether message payloads are always stored in Amazon S3 or only when a message's size exceeds 256KB.
12
13
- Send a message that references a single message object stored in an Amazon S3 bucket.
@@ -16,13 +17,9 @@ SQS/SNS producer/consumer library. Provides an ability to pass payloads though s
16
17
## Installation
17
18
18
19
```
19
-
npm install sns-sqs-big-payload
20
+
npm install @5app/sns-sqs-big-payload
20
21
```
21
22
22
-
Important:
23
-
24
-
> Make sure you also have `aws-sdk` installed, because it's listed as a peer dependency, so won't be installed automatically.
25
-
26
23
## Usage
27
24
28
25
The library exports 3 clients:
@@ -36,7 +33,7 @@ All 3 clients are under the same repository since they share a similar contract
If you need to specify your credentials manually, you can use a pre-configured instance of the [AWS SQS](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SQS.html) client:
0 commit comments