hemera-sqs

5.0.2 • Public • Published

Hemera-sqs package

npm styled with prettier

This is a plugin to use sqs with Hemera.

Amazon Simple Queue Service (SQS) is a fast, reliable, scalable, fully managed message queuing service. Amazon SQS lets you decouple the components of a cloud application. Amazon SQS includes standard queues with high throughput and at-least-once processing, and FIFO queues that provide FIFO (first-in, first-out) delivery and exactly-once processing.

Usage

const hemera = new Hemera(nats)
// Load config by file or environment variables
const configPath = '..config.json'
hemera.use(require('hemera-sqs'), { configPath })

Interface

Documentation

Amazon SQS Examples

Receive multiple messages

If you want to receive more than one message ensure that you set the maxMessages$ property to -1

Increase timeout

If you want to enable long pooling ensure that you adjust the timeout$ property for your use case.

Readme

Keywords

none

Package Sidebar

Install

npm i hemera-sqs

Weekly Downloads

1

Version

5.0.2

License

MIT

Unpacked Size

6.53 kB

Total Files

5

Last publish

Collaborators

  • starptech