Quick ’n Easy Population of Realistic Test Data into Kafka
tl;dr Use curl
to pull data from the Mockaroo REST endpoint, and pipe it into kafkacat
, thus:
curl -s "https://api.mockaroo.com/api/d5a195e0?count=2&key=ff7856d0"| \
kafkacat -b localhost:9092 -t purchases -P