Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 940 Bytes

File metadata and controls

46 lines (28 loc) · 940 Bytes

Event-Driven Python Kafka Boilerplate

This repository demonstrates an event-driven architecture using Python and Kafka. It includes several Python scripts that interact with Kafka to handle transactions, emails, and analytics and simulated order backend.

Setup Instructions

Follow the steps below to clone the repository, set up Kafka using Docker, and run the necessary scripts.

1. Clone the Repository

Start by cloning the repository to your local machine:

git clone https://github.com/iamrubayet/Event-Driven-Python-Kafka-Boilerplate

2. Navigate to the Project Directory

cd Event-Driven-Python-Kafka-Boilerplate

3. Install dependencies

 pip install -r requirements.txt

4. Start Kafka with Docker Compose

docker compose up

5. Run the Python Scripts

python3 transaction.py


python3 email.py


python3 analytics.py

python3 order_backend.py