Skip to content
A POC for a post in
Python Dockerfile
Branch: master
Clone or download
Latest commit 8b8bd95 May 6, 2019

Example of topic exchange using Celery and Attrs

This is the POC of a blog post on

To run you can either use celery or docker-compose.

Using celery in the host machine:

python develop
celery worker -A -l INFO -n billing 
celery worker -A -l INFO -n logistic 
python order/

Using docker-compose:

docker-compose up --build

In this case you can check the success using the following command:

docker-compose logs | grep "Task order.v1.submit"

this should return two rows, one for logistic and one for billing.

You can’t perform that action at this time.