Files
KafkaExample/README.md

24 lines
482 B
Markdown

# Kafka Example
This is a very simple application to demonstrate how to set up a Kafka instance, create a consumer and a producer, and send and receive messages.
## Setup
1) Create a virtual environment
2) Install required libraries
```zsh
pip3 install -r requirements.txt
```
3) Run Kafka using Docker Compose
```zsh
docker compose up
```
4) Run tracker.py
```zsh
python3 src/tracker.py
```
5) Run producer.py
```zsh
python3 src/producer.py
```
6) Confirm messages in terminal