Skip to content

TheRiddle-5/Kafka_stream_dashboard

Repository files navigation

Real-Time Kafka Streaming Simulation

This project demonstrates real-time streaming using Kafka. It simulates fake tweets and stock prices, performs sentiment analysis, and plots stock data live on a dashboard.

Components

  • producer.py: Produces fake tweets and stock prices
  • consumer_tweet_sentiment.py: Consumes tweets and analyzes sentiment
  • dashboard_stock_plot.py: Plots live stock prices using Dash

Setup

  1. Install dependencies:
pip install -r requirements.txt
python -m textblob.download_corpora
  1. Start Kafka locally on localhost:9092

  2. Run each component in separate terminals:

python producer.py
python consumer_tweet_sentiment.py
python dashboard_stock_plot.py

About

Real-Time Kafka Streaming Simulation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages