An open API service indexing awesome lists of open source software.

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

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