siddhi-runner-beam
siddhi-runner-beam is a java library that executes a pipeline from Apache Beam in Siddhi.
How to use
Step 1: Add the runner library as a maven dependancy along with other Beam dependancies
This is done as follows:
<dependency>
<groupId>org.wso2.siddhi.runner.beam</groupId>
<artifactId>siddhi-runner-beam</artifactId>
<version>x.x.x</version>
</dependency>
Step 2: Set the runner of the pipeline as SiddhiRunner
This is done as follows:
//SiddhiPipelineOptions is defined
SiddhiPipelineOptions options = PipelineOptionsFactory.as(SiddhiPipelineOptions.class);
options.setRunner(SiddhiRunner.class);
Features
The following is the list of transformations that are currently supported.
- ParDo
- GroupByKey
- FixedWindow
- Flatten
- Partition
- TextIO