Giter VIP home page Giter VIP logo

airflow-for-workflows's Introduction

An attempt to understand and explore Airflow

Setting up the airflow environment:

./bootstrap

source pyenv/bin/activate

Before you initialize db with next command, make sure that the directory "/airflow" exists and file "/airflow/airflow.cfg" has following options properly set:

dags_folder = dag directory path of this project  
load_examples = False (This is optional to avoid confusion with airflow implemented dags)  
executor = LocalExecutor  

We are using LocalExecutor as we are exploring airflow and haven't really moved to production deployment yet.

To init the airflow db
fab initdb

Following will run airflow webserver and you can check ui on localhost:8083
fab runserver
Note that above command wont run in background so you need another terminal window and run following command in it.
source pyenv/bin/activate

Project structure:

You can take a look at example implementation of dags in directory "airflow-for-workflows/dags" Following command will run unit tests but we don't have any yet :(.
fab test

Feel free to explore new operator and add example implementation here.

Running existing implementations:

You can simply try out example dags from "dags" directory using following command and observe it in UI(localhost:8083)
airflow backfill airflow_retry_feature -s 2016-03-20T00 -e 2016-03-20T01

airflow-for-workflows's People

Contributors

samarthg avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

vviles

airflow-for-workflows's Issues

Explore airflow with "CeleryExecutor"

Setting up airflow with "CeleryExecutor" is very important as a lot of UI features are exclusively available/responds when this executor is used.

Explore different HTTP operator.

"SimpleHttpOperator" and "HttpSensor" are available which could be very useful when there is a dependency on external services.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.