hemera-sqs v5.0.2
Hemera-sqs package
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
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.
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago