hanenia / streaming-05-smart-smoker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

streaming-05-smart-smoker

Author: Hanna Anenia

Date: 5/31/2024

Objective:

Use RabbitMQ to distribute tasks to multiple workers

One process will create task messages. Multiple worker processes will share the work.

Prerequisites

RabbitMQ Installed and running on your machine Pika installed and running on Python

The Problem / Challenge To Solve Read about the Smart Smoker system. Access the smoker data file here Download smoker data file here.

smoker-temps.csv has 4 columns:

[0] Time = Date-time stamp for the sensor reading [1] Channel1 = Smoker Temp --> send to message queue "01-smoker" [2] Channel2 = Food A Temp --> send to message queue "02-food-A" [3] Channel3 = Food B Temp --> send to message queue "03-food-B"

Task 1. Create a Place to Work

In GitHub, create a new repo for your project - name it streaming-05-smart-smoker Add a README.md during the creation process. Clone your repo down to your machine. In VS Code, add a .gitignore, start working on the README.md. Add the csv data (smoker-temps.csv) file to your repo. Create a file for your bbq producer.

Task 2. Design and Implement Your Producer

Implement your bbq producer. Used the logic, approach, and structure from Module 4, version 2 and version 3. comments added in the code and repo to explain your work. Use docstring comments and add your name and date to your README and your code files..

screenshot

screenshot

About


Languages

Language:Python 100.0%