everwatchsolutions / json-data-generator

A robust, generic, streaming random json data generator for your data
Apache License 2.0
397 stars 176 forks source link

data generator to kafka #51

Open zazizou opened 6 years ago

zazizou commented 6 years ago

Hi everyone,

I would like to create random GPS positions that in the end I plan to send to a Kafka topic. In a first step I have only use the "logger" producer which worked perfectly, but I am failing to fill the Kafka topic with the same data. I have created a new Kafka topic ("RandomGPS") for this aim and it remains empty.

Here are the producers settings

"producers": [{
"type": "kafka",
"broker.server": "172.17.0.3", "broker.port": 9092,
"topic": "RandomGPS",
"flatten": true,
"sync": true
},{
"type":"logger"
}]

Is there something I am missing ? Thanks for your help.