So this is like saying we want Jackie Chan to do a martial arts move every 400 milliseconds (he’s FAST!), then take a break for 1.5 seconds, and do another one. At the top are the properties that define how often events should be generated and if / when this workflow should be repeated.The Workflow defines many things that are all defined on the github page, but here is a summary: A Jackie Chan command might look like this: We can command Jackie Chan though a programmable interface that happens to take json as an input via a Kafka queue and you can command him to perform different fighting moves in different martial arts styles. It is the Workflow that defines the format and content of your Events as well.įor our example, we are going to pretend that we have a programmable Jackie Chan robot. The Workflow defines the frequency of Events and Steps that the Workflow uses to generate the Events. The second is a Workflow configuration (of which you can have multiple). The Simulation Config defines the Workflows that should be run and different Producers that events should be sent to. You define the configuration for the json-data-generator using two configuration files. These destinations could be a log file, or something more complicated like a Kafka Queue. You will also need to define Producers that are used to send the Events generated by your Workflows to some destination. The Workflows then generates Events and these Events are then sent somewhere. The Simulation can specify one or many Workflows that will be run as part of your Simulation. The generator runs a Simulation which you get to define. Head there now and download a release to get started! Configuration You can always find the most recent release over on github where you can download the bundle file that contains the runnable application and example configurations. With that said, we’d like to show to the basics here in this post to give you an idea of how the json-data-generator might help you on your projects. For the full (and updated) documentation, please view the README on the github project page. The json-data-generator has too many different configuration options and features to go over in a blog post like this. We now have a data generator that supports all of these things that can be run on our own networks and produce streams of json data for applications to consume.
0 Comments
Leave a Reply. |