Giter Site home page Giter Site logo

apache-hbase-with-kafka's Introduction

Kafka to HBase Data Pipeline

This project demonstrates a data pipeline that transfers data from Kafka to HBase and provides a web application to view the data stored in the HBase table.

Prerequisites

Make sure you have Docker and Python installed on your system.

Setup

  1. Navigate to the project directory:

    cd your_repository
  2. Build and start the Docker containers:

    docker-compose up --build

Usage

  1. First, produce data to Kafka by running the following command:

    python3 produce_to_kafka.py

    This script will read JSON files from the data directory and produce them to the Kafka topic.

  2. Next, consume data from Kafka and store it in HBase by running:

    python3 consume_to_hbase.py

    This script will create a table in HBase and add data to it by subscribing to the Kafka topic.

  3. Finally, start the web application to view the data:

    python3 test.py

    This will launch a web app where you can see the data logged from the HBase table.

apache-hbase-with-kafka's People

Contributors

abdulrehmanjaved-1 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.