Skip to content

For creating mqtt publisher and broker and storing data using mongodb

Notifications You must be signed in to change notification settings

amarnathreddy0201/mqtt_mongo_docker_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt_mongo_docker_test

For creating mqtt publisher and broker and storing data using mongodb

Run the main.py

* Run the main.py by using python main.py 
* We will initialize the mqtt broker and connecting Mongo DB data.
* Connect mongoDb database.
* When mqtt recieve the data it will insert into mangoDB database.
# It will create database name mangoDB and stored into the data base.

Run the publish.py

* Connect mqtt publisher based on port and local host.
* It will send data to broker and from broker publisher accepting the data.

Test file for exception handling and connecting mongo DB.

About

For creating mqtt publisher and broker and storing data using mongodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages