https://github.com/ellisonleao/celery-sqs-dlq
Example of Django app with Celery+SQS+DLQ
https://github.com/ellisonleao/celery-sqs-dlq
Last synced: 6 months ago
JSON representation
Example of Django app with Celery+SQS+DLQ
- Host: GitHub
- URL: https://github.com/ellisonleao/celery-sqs-dlq
- Owner: ellisonleao
- Created: 2024-07-02T18:33:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-06T14:56:55.000Z (about 1 year ago)
- Last Synced: 2025-03-28T12:57:27.814Z (6 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Celery SQS + DLQ
================This project shows how to use a django project with Celery using SQS as broker with a DLQ configured
## Prerequisites
- Docker compose
## Calling task
1. Run localstack
```bash
$ docker compose up -d
```1. Run worker in another terminal
```bash
$ celery -A celery_sqs_dlq worker -Q test-queue.fifo
```2. Call any tasks from myapp.tasks