keiraqz / RaspPiDemo

Raspberry Pi streaming demo with Standalone Kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RaspPiDemo

Image of Demo Image of Text

Install Zookeeper | Kafka | Redis

[NOTE] don't run the script.. it's a reference..

Kafka Config

####2 topics

  • auto_trnx: for auto streaming
  • twilio_trnx: for Twilio

Install on the Pi

#setup
conda create --name rasp_pi python=2
source activate rasp_pi

pip install kafka-python
pip install twilio
pip install flask
pip install numpy
pip install redis

To start the demo

  • run both consumer & producer

     bash run_streaming.sh
    
  • start flask app

     cd flask
     python run.py
    

About

Raspberry Pi streaming demo with Standalone Kafka


Languages

Language:Shell 62.7%Language:Python 16.2%Language:HTML 12.1%Language:CSS 7.3%Language:JavaScript 1.7%