Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

RetailX: End-to-End Live Data Pipeline with Azure & Python πŸš€

Built using Microsoft Azure, Python & Power BI
By Krishna Chaitanya Muttevi


youtube demo: https://youtu.be/wWYqg14s9uY

πŸ“˜ Project Overview

RetailX is a cloud-native, real-time retail data analytics pipeline that simulates live transaction data and processes it through an event-driven Azure ecosystem. The data is visualized using interactive Power BI dashboards.

This project showcases hands-on experience with real-time data ingestion, transformation, cloud storage, and visualization using tools like Azure Event Hub, Stream Analytics, ADLS Gen2, and Power BI.


πŸ› οΈ Tech Stack

Component Purpose
Azure Event Hub Real-time ingestion
Azure Stream Analytics SQL-based stream processing
Azure Data Lake Gen2 Cloud storage for JSON data
Power BI Data visualization
Python Transaction simulator
JSON Streaming data format

🧱 Architecture Diagram

The following architecture demonstrates the complete flow from simulation to visualization:

RetailX Archirecture Diagram

🐍 Python Simulator

  • Publishes transaction events to Azure Event Hub in real-time.

  • Written in Python (simulate transactions.py).

  • Each message contains fields like timestamp, product, quantity, price, etc.

    image

βš™οΈ Azure Components

🎯 Event Hub Setup

  1. Created namespace and Event Hub.
image
  1. Generated Shared Access Policy for authentication.
image
  1. Connected Python script to push data.
image

πŸ—ƒοΈ Azure Data Lake Gen2

  • Created storage account with Hierarchical namespace. image image image

  • Created container and directory to hold processed output files (JSON). image

🧩 Stream Analytics

  1. Created job to read from Event Hub. image

  2. Defined input schema. image

  3. Output written to ADLS Gen2 as JSON. image

  4. Live queries tested on streaming input. image


πŸ“Š Power BI Integration

Power BI connects directly to ADLS Gen2 to visualize real-time output.

  1. Connected to Azure Blob Storage. image

  2. Navigated to the container directory. image

  3. Transformed raw JSON into tabular format. image

  4. Built interactive dashboards with charts and KPIs. image

image

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors