Skip to content

A small project to allow publishing data to Apache Kafka, Apache Pulsar or any other target system

Notifications You must be signed in to change notification settings

isabella232/datagen-1

 
 

Repository files navigation

Building

gradle clean build

This will produce an tar/zip in build/distribution folder. The archive contains a default lenses.conf to pass as first argument to the application.

Running

bin/generator see below

Options

--data 5 --topic iot_device_temperature_avro --format AVRO --brokers PLAINTEXT://broker --schema http://machine:18081

--data 5 --topic iot_device_temperature_xml --format XML --brokers PLAINTEXT://brokers  --schema http://machine:18081

--data 5 --topic iot_device_temperature_json --format JSON --brokers PLAINTEXT://broker --schema http://machine:18081

Available formats: JSON, XML, AVRO, PROTO Available --data options:

1 -> CreditCardGenerator, 2 -> PaymentsGenerator, 3 -> SensorDataGenerator, 4 -> WeatherDataGenerator, 5 -> DeviceTemperatureDataGenerator, 6 -> DeviceTemperatureArrayDataGenerator

About

A small project to allow publishing data to Apache Kafka, Apache Pulsar or any other target system

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 94.7%
  • Kotlin 5.2%
  • Java 0.1%