Creating Custom Builder Components
Also available as:
PDF

Creating Custom Processors

Create a custom processor using the SDK, and package it into a jar file with all of its dependencies.

Create a new maven project using this maven pom file as an example.
  1. To implement a custom processor, implement the following interface:
    org.apache.streamline.streams.runtime.CustomProcessorRuntime
  2. Package the jar file with all dependencies, by running the following commands:
    mvn clean package
    mvn assembly:assembly
  3. In the target directory you should have an uber jar that ends with jar-with-dependencies.jar. You need this jar file when you register your custom processor with SAM.

The PhoenixEnrichmentProcessor is a good example of a new custom processor implementation.