Commit 9420a93e authored by charankumar's avatar charankumar

Update assingment_4.md

parent 9d856dd2
...@@ -116,9 +116,9 @@ Sample Document: ...@@ -116,9 +116,9 @@ Sample Document:
| Datetime | Temperature | Data quality | | Datetime | Temperature | Data quality |
| -------- | ----------- | ------------ | | -------- | ----------- | ------------ |
|2019-04-03 00:00:00.000 | 112.4 | good | |2022-04-03 00:01:00.000 | 112.4 | good |
|2019-04-03 01:00:00.000 | 111.32| good | |2022-04-03 00:02:00.000 | 111.32| good |
|2019-04-03 02:00:00.000 | 114.98| bad | |2022-04-03 00:03:00.000 | 114.98| bad |
### Tools to use: ### Tools to use:
1. Pycharm / VSCode 1. Pycharm / VSCode
...@@ -130,7 +130,7 @@ https://kairosdb.github.io/docs/restapi/QueryMetrics.html ...@@ -130,7 +130,7 @@ https://kairosdb.github.io/docs/restapi/QueryMetrics.html
https://pypi.org/project/kairosdb-python/ https://pypi.org/project/kairosdb-python/
________________________________________________________ ________________________________________________________
## Task 3: Working with MQQT ## Task 3: Working with MQTT
## Areas covered: ## Areas covered:
...@@ -139,6 +139,7 @@ ________________________________________________________ ...@@ -139,6 +139,7 @@ ________________________________________________________
## Description: ## Description:
For the above (task 2) given sample For the above (task 2) given sample
1. push a sucessful notification to the MQTT for every 5th successful record with "good" 1. Push a message to the MQTT for every 5th successful record with "good"
2. Save stats (sum, average, latest timepoint) of all above 5 records in a redis seprate Redis DB 2. Message contains stats (sum, average, timestamp - latest message) of all above 5 good records
3. An API to fetch the above saved data from redis 3. store each aggregation to a separate redis database
4. develop an API to fetch the above saved data from redis
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment