Code Monkey home page Code Monkey logo

dataplatform's Introduction

Architecture

Build Status Docker Apache Flink Apache Spark Apache Kafka Elasticsearch Kibana AWS S3 MySql

Overview

Data platform is a lambda architecture demo for data processing and analysis.

The objective of this project is to demonstrate an analytical platform model that is capable of processing data in real time and batch and visualizing the result using different types of technologies..

Architecture

Architecture

Components

  • Data Generator:

    It is a process developed in Python that reads a soccer game event dataset and sends the events to Kafka every 0.5 seconds. In addition, it reads some datasets (data of the matches, types of events, etc.), and saves it in MySql.

  • MySql:

    MySql stores the data received from the Data Generator to consume it later in the Spark and Flink process.

  • Apache Kafka:

    It receives the events in a topic to consume from the Flink process and stores them in S3 using Kafka connect.

  • AWS S3 (localstack):

    S3 stores the data received from Kafka connect in a bucket to consume it later in batch processes (Spark).

  • Apache Flink:

    The Flink process consumes Kafka topic and MySql tables (queries every 30 min) to analyze events in real time and inserts into Elasticsearch indexes.

  • Apache Spark (Pending to implement):

    Spark reads data stored in S3 and MySql to analyze in batch mode and stores in Elasticsearch indexes.

  • Elasticsearch:

    Elasticsearch stores the data analyzed in real time and batch mode.

  • Kibana:

    Visualizes Elasticsearch data in a Dashboard.

Run demo

Requirements:

Clone repository

git clone https://github.com/gmfaruk/dataplatform.git

Move to project directory

cd dataplatform

Set execute permission to start and stop script

chmod +x start

chmod +x stop

Start dataplatform

./start

#or
bash start

Stop dataplatform

./stop

#or
bash stop

Credits for docker images:

dataplatform's People

Contributors

farookhridoy avatar

Watchers

 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.