Supporting code for our step-by-step coding walkthroughs.
There's a complete walkthrough video here. To run the code in this repo:
# Set up an environment.
cd send_to_kafka
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
# Run the producer.
python3 main.py
There's a complete walkthrough video here. To run the code in this repo:
# Set up an environment.
cd read_from_kafka
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
# Run the consumer.
python3 main.py
There's a complete walkthrough video here. To run the code in this repo:
# Set up an environment.
cd weather_processor
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
# Run the stream processor.
python3 main.py