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 dlq_handler_lib
from dlq_handler_lib import DLQHandler
# Initialize the DLQHandler with the queue URL, original queue URL, and maximum attempts
handler = DLQHandler(
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
)
# Process the messages from the DLQ
handler.process_messages()
Release files for dlq-handlerl-lib 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dlq_handlerl_lib-0.1.4.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dlq_handlerl_lib-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / dlq_handlerl_lib-0.1.4.tar.gz
| Download URL | dlq_handlerl_lib-0.1.4.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
626d4bc69718181aa5ec13ff356a8726d80925a7115b381039addabda3d3081f
|
|
BLAKE2b-256 checksum How to use checksums |
0c482ceb17021725ca2ab2036029a940b0e44ca374d4c2eb9377e106d45ad923
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / dlq_handlerl_lib-0.1.4-py3-none-any.whl
| Download URL | dlq_handlerl_lib-0.1.4-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0eb23a10f2759157624c8b8dd636ebc95317f4e052245c1a752d543e98a474c9
|
|
BLAKE2b-256 checksum How to use checksums |
f6a5b46c2eae62309537e6d50ec1e0f81a588ec508cf8eb05266464f8a0e30c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|