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
Release files for dlqhandler 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dlqhandler-0.8.1.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dlqhandler-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / dlqhandler-0.8.1.tar.gz
| Download URL | dlqhandler-0.8.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fd04541b1c5e99fcb10956b81c65397c27739045f49b7da2f4210c3746bca59
|
|
BLAKE2b-256 checksum How to use checksums |
929ca10184b5dde580b1f4da88f64e3ee3475c176c04b4d7308945106ab534d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Release files / dlqhandler-0.8.1-py3-none-any.whl
| Download URL | dlqhandler-0.8.1-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4a8c2f2e95954d779f7eb9875765d6cf772a6f86f37b6f50a357a32010752f1
|
|
BLAKE2b-256 checksum How to use checksums |
a205bf0fa6e39ac2fcb8780d94351ca5c4bcbc3b14bad6a1864aa0cafb085789
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|