Multiple Services with Django App and Kafka
Application has been devided into 3 microservices using Kafka for Event sharing. For Backend Services Django Framework has been used and Database has been sepated. For Kafka running Docker has been used. For getting data as a consumer service multithreading has been implemented inside all Django applications.
To run application clone the source and install all required dependencies
Install the dependencies and devDependencies and start the server.
pip install requirements.txt
In order to run multithreading script open new terminal and run following script
python3 manage.py run_script
The following script has been added inside app folder
project/app/management/commands --> run_script.py