Skip to content

Aiven-Labs/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

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages