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-handler-lib 0.1.6
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_handler_lib-0.1.6.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dlq_handler_lib-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / dlq_handler_lib-0.1.6.tar.gz
| Download URL | dlq_handler_lib-0.1.6.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f1902cdde5a669e49cfc8c71f596d020ef80c3b2f1ac829de6d409bbec1321a
|
|
BLAKE2b-256 checksum How to use checksums |
969f1e5890b7d063e70b8f7949587ed3886c792599b6d076162bbeae19d622f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / dlq_handler_lib-0.1.6-py3-none-any.whl
| Download URL | dlq_handler_lib-0.1.6-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38ad7189e49b74229f553cc26d7b80c5713ec21f1d85d9b84d2adcb6fd61486f
|
|
BLAKE2b-256 checksum How to use checksums |
9ed6f687637f470aa1573f5509c00958dc090a789d085ffcd18eb7d9f62f451b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|