- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Created on 08-08-2016 09:08 PM - edited 08-17-2019 10:55 AM
Hortonworks and SAS have partnered to create two new Apache NiFi processors. These processors allow data/events to be streamed between Hortonworks DataFlow (HDF) and SAS Event Stream Processing.
Why does this matter?
How does this integration work?
- ListenESP: This processor initiates a listener within NiFi that receives events from the SAS Event Stream Processing data stream.
- PutESP: This processor sends events from NiFi to the SAS Event Stream Processing data stream.
Setup and configuration:
- Download and install Hortonworks DataFlow
- Copy the SAS .nar file to
$NIFI_HOME/lib
(This .nar file is provided by SAS when SAS Event Stream Processing is purchased.) - Edit
$NIFI_HOME/conf/nifi.properties
and change the web HTTP port to 31005 (nifi.web.http.port=31005
) or another available port of your choice. - Start NiFi by running
$NIFI_HOME/bin/nifi.sh run
- Open a browser and go to
http://$HOST:31005/nifi
NOTE: For this to work, SAS Event Stream Processing must be purchased and have a valid license.
Once the .nar file has been added, you will have access to the two processors within NiFi. Data events are shared using an Avro schema. Below is a basic example of a NiFi dataflow using both a ListenESP and PutESP (Shown in Figure 1).
Within the PutESP processor, you'll notice a few parameters (shown below in Figure 2😞
- Pub/Sub Host: Hostname or IP of the server running SAS Event Stream Processing.
- Pub/Sub Port: Pubsub port of the SAS Event Stream Processing engine.
- Project: SAS Event Stream Processing project name.
- Continuous Query: Name of the continuous query within the SAS Event Stream Processing project.
- Source Window: Source window within SAS Event Stream Processing where events from NiFi can be injected.
The ListenESP processor has similar parameters (shown below in Figure 3😞
For more information, check out Hortonworks DataFlow (HDF) powered by Apache NiFi and SAS Event Stream Processing.