Introduction to Freezer Monitoring Lite
- An overview of SAP HANA Streaming Lite
- The steps in order to create and deploy a Streaming Lite project
- SAP HANA 2.0 system with minimum version SP02
- Streaming Analytics Server running on SAP HANA
- HANA Studio Development Environment,
Raspberry Pi 2microcontroller board setup running
Raspbianwith network connection for
Raspberry Piuser as
"Pi", and root directory as
- Step 1
Streaming Lite (SL) is a component of HAHA Streaming Analytics (HSA), designed for edge processing in
IoTscenarios. It’s a slimmed down version of the Streaming Analytics server, and connects through an internal output adapter to the full HANA Streaming Analytics server via a
WebSocketconnection. This allows for deployment of streaming projects on remote gateway devices, such as a Raspberry Pi (the device used in this tutorial).
Streaming Lite is meant for running on
IoTgateways to preprocess data before it gets sent to Streaming Analytics. As
IoTenabled devices and sensors increase dramatically in the coming years, Streaming Lite will help preprocess and filter data at the source, before sending it through to Streaming Analytics and HANA. Streaming Lite runs a single streaming project, and has full
CCLwindow support. As of SAP HANA 2.0 SP02, Streaming Lite can run on Linux x86, and Linux ARM. SAP documentation regarding the process can be found in section Streaming Lite.
This Streaming Lite project will be run on a Raspberry Pi 2 microcontroller board, which has the potential to read values from attached sensors. However, this requires a custom adapter, which is beyond the scope of this tutorial. Additionally, to utilize Streaming Lite to its full potential, a Streaming Web Service output adapter can be added into any Streaming Lite project, in order to stream data directly into any Streaming Analytics project. However, this too is beyond the scope of this tutorial.
In this tutorial, we are focusing solely on creating and deploying a Streaming Lite project called
"freezer_monitoring_lite". This project will take in temperature values, and output an average of every 15 rows. In order to visualize the flow of data we will be using standard command line utilities which come with the installation of Streaming Lite, to perform the basic input and output readings for our project.
For the question below, select the correct answer, and click Validate.
- Step 2
Where will the Streaming Lite project be run on for the purposes of this tutorial?