Skip to content

iamrubayet/Event-Driven-Python-Kafka-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
shahriar.rubayet
Oct 17, 2024
d05d6a8 · Oct 17, 2024

History

11 Commits
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024
Oct 17, 2024

Repository files navigation

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

About

A very brief event driven system demo with Kafka and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published