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()
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
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.5.5.tar.gz.
File metadata
- Download URL: dlqhandler-0.5.5.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77cb14197cb764ab7c03bbc597f48167b686473b50dfe86a418af689f599f489
|
|
| MD5 |
ed82f6bd4d38c4d6db9e8af55781fee6
|
|
| BLAKE2b-256 |
0820b092cd3d84caa7b9d5503628b44189e34f227680622740d21af22cb2b049
|
File details
Details for the file dlqhandler-0.5.5-py3-none-any.whl.
File metadata
- Download URL: dlqhandler-0.5.5-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c896ba7c3cfe18be4bfecf15912e1247806d44a7c08eda97a2f933409f9b4ad
|
|
| MD5 |
e78464bb48d77dd65562b7b3f58c38d5
|
|
| BLAKE2b-256 |
8bf79e4df6a2148a9a90f5249bf96363367544df9c8eb92a0281fdb0fef30539
|