quixio / simple-kafka-python

Source Code for our Simple Walkthrough Videos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python and Kakfa with QuixStreams

Supporting code for our step-by-step coding walkthroughs.

A Simple Producer

YouTube Producer Video Thumbnail 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

A Simple Consumer

YouTube Consumer Video Thumbnail 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

A Simple Processor

YouTube Processor Video Thumbnail 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

About

Source Code for our Simple Walkthrough Videos


Languages

Language:Python 100.0%