Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.57 KB

AWSSQS.md

File metadata and controls

26 lines (16 loc) · 1.57 KB

AWS SQS

Deprecated

The SQS consumer package along with the async component is superseded by the standalone github.com/beatlabs/patron/component/sqs package.

This package is frozen and no new functionality will be added.

Description

The SQS component allows users to construct SQS consumers and handle messages under the async.Message abstraction. It supports JSON and Protobuf-encoded messages.

The package collects Prometheus metrics regarding the queue usage. These metrics are about the message age, the queue size, the total number of messages, as well as how many of them were delayed or not visible (in flight).

Users can configure

The component utilizes the official AWS SDK for Go; to get a head start you can go ahead and take a look at the sqs example for a hands-on demonstration of the SQS package in the context of collaborating Patron components.

As with all Patron components, tracing capabilities are included out of the box.