Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dlqhandler

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dlqhandler

A library for handling DLQ messages in AWS SQS

  • 0.8.0
  • PyPI
  • Socket score

Maintainers
1

DLQ Handler Library

A library for handling DLQ (Dead Letter Queue) messages in AWS SQS. This library allows you to reprocess messages from a DLQ with specified parameters such as the queue URL, original queue URL, and maximum number of attempts.

Installation

To install the library, use pip:

pip install dlqhandler

from dlqhandler import ProcessMessage

# Initialize the DLQHandler with the required parameters
process_message_handler = ProcessMessage(
    dlq_queue_url='https://sqs.us-east-1.amazonaws.com/123456789012/my-dlq',
    original_queue_url='https://sqs.us-east-1.amazonaws.com/123456789012/my-queue',
    max_attempts=5,
    region_name='us-east-1',
    env=my_env_config,  # replace with your actual environment config
    nome_lambda='lambda-reprocessamento-dlq',
    namespace='DLQ-Mensageria'
)

# Process the messages from the DLQ
process_message_handler.execute()


FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc