FastAPI and Kafka
docker-compose up -d
- Install required packages in virtual environment
pip install -r requirements.txt
- Open new terminal and run Uvicorn server
uvicorn producers:app --reload
- Open new terminal and start the consumers
python3 consumers.py
- Open new terminal to start the script that will generate order every 3 seconds
python3 data_generator.py