Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 573 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 573 Bytes

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