Skip to main content

Getting Started

Prerequisites

  • Python 3.11+
  • pip
  • Virtual environment (recommended)
  • Azure account (for Event Hubs and Cosmos DB)

Installation

1. Clone the Repository

git clone <repository-url>
cd storm-batch-processing

2. Create Virtual Environment

python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Configuration

Create or edit config.json:

{
"eventHubConnectionString": "...",
"cosmosDbEndpoint": "...",
"cosmosDbKey": "...",
"database": "...",
"container": "..."
}

See Configuration Guide for all options.

5. Run the Application

python main.py

Next Steps