- First terminal tab:
docker compose -f kafka-docker-compose.yml up -d
- Second terminal tab:
docker compose -f elk-docker-compose.yml up -d
Now Kafka and ELK services are running, open another terminal tab then:
- Installed all the required packages:
pip install -r requirements.txt
- Run the consumer first:
python consumer.py
- Now, run the producer:
python producer.py
This project is used by everyone that going to have the very first step in kafka, elk.
Enjoy yourself!!