Giter Club home page Giter Club logo

airflow_for_beginners's Introduction

This is a small example of the workflow built with Apache Airflow.

You can find slides here and watch the talk here

The goal is to set up a data pipline to get a fresh portion of Stack Overflow questions with tag pandas to our mailbox daily.

A small python script could do the job, but for the learning purposes we choose to overengineer it.

By writing this workflow we will learn the main concepts of Apache Airflow, such as:

  • Operators
  • DAG
  • Tasks
  • Hooks
  • Variables
  • Connections
  • XComs

Happy learning ๐Ÿค“

Helpful resources

๐Ÿ“ Apache Airflow Documentation

Apache Airflow tutorials for beginners

๐Ÿ“ Apache Airflow Tutorial for Data Pipelines

๐Ÿ“ Apache Airflow for the confused

๐Ÿ“ Airflow: Tutorial and Beginners Guide

๐Ÿ“ ETL Pipelines With Airflow

Some more

๐Ÿ“ฐ ETL best principles

๐Ÿ“ฐ Managing Dependencies in Apache Airflow

๐Ÿ“ Getting Started with Airflow Using Docker

๐ŸŽง Putting Airflow Into Production

๐Ÿ“ How to configure SMTP server for apache airflow

If you have any questions or would like to get in touch with me, please drop me a message to [email protected]

airflow_for_beginners's People

Contributors

karpenkovarya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

airflow_for_beginners's Issues

Parallel tasks

As an additional step, it makes sense to add some parallel tasks to fetch data with other tags.
In this case, we have to take care of the question duplication.

Format HTML template

To complete #4 we need to create an HTML template that should be filled with the data later

Task to send an email

Create a task that is parsing latest JSON in S3 bucket, and using the result to format an HTML template, that will be sent via email.

Edit README

Document all steps that were taken to create a pipeline + the reading list, and display it as a README of this repo.

Task to write JSON to S3

Create a task, that will read questions metadata from the database, filter it by the question score and user reputation and save the result in the JSON format to S3 bucket

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.