-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Ankush Mitra edited this page Nov 26, 2020
·
3 revisions
- First fork
- Then before uploading any file make sure your file has proper name
- Make the pull request
- Download and setup docker , docker compose
- Now goto the bootstrap module and run init.py (it is doing docker-compose up for kafka)
- Goto the communation_module directory and import communication module
- Call the Sample producer interface communication_module.ApplicationManager_to_ServiceLifeCycle_Producer_interface(mess) [ see ApplicationManger.py ]
- Call the Sample consumer interface communication_module.ApplicationManager_to_ServiceLifeCycle_interface(fun) [see ServiceLifeCycle.py ]
- Videolink: https://www.youtube.com/watch?v=rixFLCBNLao&t=333s
- cd SensorManger
- python3 (open python terminal)
- import UI
- UI.UI(topic_name)
- docker run --rm --network=host new
- sudo docker kill $(sudo docker ps -q)
var dbs = db.getMongo().getDBNames() for(var i in dbs){ db = db.getMongo().getDB( dbs[i] ); print( "dropping db " + db.getName() ); db.dropDatabase(); }
save it to dropall.js and then execute:
mongo dropall.js
- All kafka topic data visualization https://localhost:3030