Skip to content

SamoraMachel/Python-Kafka-Messaging

Repository files navigation

Messaging with kafka in python

A sample project for message passing with kafka

Requirements

In order to run this project you are required to have the following softwares installed

  • docker-compose
  • docker
  • python 3

Project Execution

First you'll have to start the kafka server using

docker-compose up 

Once the kafka server is up then you can open 2 separate terminals. First install the necessary requirements using

pip install -r requirements.txt

Afterwards in the first terminal run

python src/consumer.py

in the second instance of the terminal run

python src/producer.py

About

A simple project to test the features of kafka

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published