A library for handling DLQ messages in AWS SQS
Project description
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()
AgEIcHlwaS5vcmcCJDI1ZmFjYzcyLTU0ZDEtNDcxOC1iZmRkLTJmYjc3YWExYTIxMgACKlszLCI2MDIxNjIwMS1kZDcwLTQzMDktYTUwYy0xN2MxY2YzMWZiZDciXQAABiCbQ-iuvJFeZppF19FcuarfCEUKqxpiCB7bd8gEXstXGQ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dlqhandler-0.8.1.tar.gz
(6.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dlqhandler-0.8.1.tar.gz.
File metadata
- Download URL: dlqhandler-0.8.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fd04541b1c5e99fcb10956b81c65397c27739045f49b7da2f4210c3746bca59
|
|
| MD5 |
81e8d115c767f964b1b4cfab0f9c04f7
|
|
| BLAKE2b-256 |
929ca10184b5dde580b1f4da88f64e3ee3475c176c04b4d7308945106ab534d1
|
File details
Details for the file dlqhandler-0.8.1-py3-none-any.whl.
File metadata
- Download URL: dlqhandler-0.8.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4a8c2f2e95954d779f7eb9875765d6cf772a6f86f37b6f50a357a32010752f1
|
|
| MD5 |
de5f07d959f14212299a50d640fc986b
|
|
| BLAKE2b-256 |
a205bf0fa6e39ac2fcb8780d94351ca5c4bcbc3b14bad6a1864aa0cafb085789
|