Getting Started
In this page JBeamline is presented.
Hello world with JBeamline
The following code represents a minimum running example that, once implemented in the main method of a Java class should provide some basic understanding of the concepts:
In step 1 the stream source is configured and, in this specific case, the stream is defined as coming from a static IEEE XES file.
In step 2, an hypothetical miner is created and configured, using custom methods (such as the setMinDependency method).
Step 3 consists of the definition of the chain of operations to be performed on each event of the stream. In this case, after the source is connected (addSource), we inform Flink that events can be distributed but all those that belong to the same process should be treated together (keyBy); then the events are flatMapped - meaning that not all events will result in a mining result - by the miner; and finally a sink is connected to save the SVG map to file (addSink).
In step 4, the defined pipeline is finally executed.