# πͺπΉ Ethiopian Market Price Intelligence System
A Big Data platform for collecting, streaming, storing, processing, and visualizing Ethiopian commodity market-price data.
The project combines **Apache Kafka**, **Hadoop HDFS**, **Apache Spark/PySpark**, and **Streamlit** to demonstrate an end-to-end Big Data pipeline.
## π― Objectives
* π Analyze historical Ethiopian commodity prices.
* β‘ Simulate real-time price streaming with Kafka.
* πΎ Store streaming data in HDFS.
* π₯ Process historical data using Spark.
* π Visualize market-price trends through an interactive dashboard.
---
## ποΈ Architecture
### Streaming Pipeline
```text
Historical Data
β
βΌ
Replay Producer
β
βΌ
Apache Kafka
β
ββββββββββββββββΊ HDFS Consumer βββΊ HDFS
β
ββββββββββββββββΊ Analytics Consumer
β
βΌ
Streamlit Dashboard
```
### Batch Pipeline
```text
Historical Data
β
βΌ
HDFS
β
βΌ
Apache Spark
β
βΌ
Historical Analytics
```
---
## π§° Tech Stack
* **Python** β Programming language
* **Apache Kafka** β Real-time streaming
* **Hadoop HDFS** β Distributed storage
* **Apache Spark / PySpark** β Big Data processing
* **Pandas** β Data processing
* **Streamlit** β Dashboard
* **Plotly** β Visualization
* **Jupyter Notebook** β Data exploration
---
## π Project Structure
```text
ethiopian-market-price-intelligence/
β
βββ consumers/
β βββ analytics_dashboard.py
β βββ hdfs_writer.py
βββ dashboard/
β βββ app.py
βββ producer/
β βββ replay_producer.py
βββ spark_jobs/
β βββ analyze_prices.py
βββ notebooks/
β βββ ethiopia_prices_2007_2026.ipynb
βββ data/
βββ output/
βββ requirements.txt
βββ README.md
```
---
## π Quick Start
### 1. Clone the Repository
```bash
git clone
github.com
cd ethiopian-market-price-intelligence
```
### 2. Install Dependencies
```bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirem β¦