Skip to content

jennjunod/grocery-generator

 
 

Repository files navigation

Grocery generator

The code from this repository generates grocery purchases that are sent to an Apache Kafka topic.

Steps to use this repository

  1. Install dependencies:
pip install -r requirements.txt
  1. Configure your Apache Kafka cluster: rename config-example.py into config.py and set your Apache Kafka URI there. Also create a folder Certificates and add Apache Kafka certificates - ca.pem, service.cert and service.key into it.

  2. Create a topic CDC-inputin the Apache Kafka service

  3. Run the script:

python makeData.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%