Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Celery - Redis - Airflow

[A proof of concept]

Objective

The objective of this PoC is to trigger a Airflow pipeline when new message send to Redis queue

Install the dependencies

pip install -r requirements.txt

Start the Celery

celery -A events.tasks worker --loglevel=INFO

Start the services

docker-compose up --build

Send message

import redis
REDIS_HOST = "localhost"
REDIS_PORT = 6379
r = redis.Redis(host=REDIS_HOST, port=REDIS_PORT, db=0)
r.publish("tasks", "run a task")

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages