Hortonworks Streaming Analytics Manager User Guide
Also available as:

Creating Custom Processors

About This Task

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


  1. Create a new maven project using this maven pom file as an example.

  2. To implement a custom processor, implement the following interface:

  3. Package the jar file with all dependencies, by running the following commands:

    mvn clean package
    mvn assembly:assembly
  4. 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.