poetry install
This script will create random messages using Faker with 3 parameters:
- BROKER URL
- TOPIC NAME
- QUANTITY MESSAGES to be produced
poetry run producer PLAINTEXT://127.0.0.1:9092 com.google.sample.purchases 1000
{
"username":"maxwellhannah",
"currency":"EUR",
"amount":1461.07
}