joewright / crs-example

Celery / Redis Sentinel example app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Celery / Redis Sentinel Example

This is an example of using the Redis Sentinel Backend to back Celery

It's only been tested with the versions in requirements.txt.

The example uses 3 containers

Run it

Clone this repo, load the git submodule, and run the containers

git submodule init
git submodule update
docker-compose up

You'll see some output from the containers

python_1 | calling the task
celery_1 | [2017-04-05 15:34:51,926: WARNING/Worker-2] {"it_worked": true}

About

Celery / Redis Sentinel example app


Languages

Language:Python 100.0%