Giter VIP home page Giter VIP logo

mikekenneth / twitter_data-lakehouse_minio_drill_superset Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 17.0 3.62 MB

Building a Data Lakehouse for Analyzing Elon Musk Tweets using MinIO, Apache Airflow, Apache Drill and Apache Superset

Home Page: https://dev.to/mikekenneth77/building-a-data-lakehouse-for-analyzing-elon-musk-tweets-using-minio-apache-airflow-apache-drill-and-apache-superset-2i3d

License: MIT License

Python 74.13% Dockerfile 5.22% Shell 20.65%
apache-airflow apache-drill apache-superset minio python s3 twitter

twitter_data-lakehouse_minio_drill_superset's Introduction

Building a Data Lakehouse for Analyzing Elon Musk Tweets using MinIO, Apache Airflow, Apache Drill and Apache Superset

Table of Contents

About

A Data Project using Apache-Airflow (Orchestrator) and MinIO(Object Storage like s3), Apache-Drill (SQL Query Engine) and Apache-Superset (Visualization).

Getting Started

Below is a design of the project. (The drawio file can be found in docs/architecture.drawio: Architecture

Prerequisites

Usage

  1. We need to create and .env from sample.env:
cp sample.env .env
  1. Add the Twitter Bearer Token in the .env file as below:
TWITTER_BEARER_TOKEN="TOKEN-GOES-HERE"
  1. 1 - If you want to change the MINIO_BUCKET_NAME, you have to change in the conf/drill/storage-plugins-override.conf:
connection: "s3a://twitter-data"
  1. 2 - If you want to change the MINIO_ROOT_USER and MINIO_ROOT_PASSWORD, you have to change in the conf/drill/core-site.xml:
<property>
    <name>fs.s3a.access.key</name>
    <value>minioadmin</value>
</property>

<property>
    <name>fs.s3a.secret.key</name>
    <value>minioadmin</value>
</property>
  1. We can simply run the pipeline using docker-compose:
  • If you are using linux, you need to change the permission of apps/logs/ to allow the container to write to this directory:
chmod -R 777 app/logs superset.db
  • To START
docker compose up -d
  • To SHUTDOWN
docker compose down
  1. Then we can connect to each below respectively:

Resources

License

This project is licensed under the MIT License - see the LICENSE file for details.

Credits

See as you fit.

Contact

If you have any questions or would like to get in touch, you can email: mailto:[email protected] OR twitter

twitter_data-lakehouse_minio_drill_superset's People

Contributors

mikekenneth avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.