SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Test Streaming Lite Project

Test the Streaming Lite Project by using the `streamingsubscribe` command line utility to see the flow of events through the project.

Overview

🎓 intermediate 15 min. SAP HANA Streaming AnalyticsIntermediateInternet Of ThingsSAP HANAExpress Edition

You will learn

  • โœ”How to subscribe for the isFreezerTemperatureReading stream to show the individual events entering the project
  • โœ”How to subscribe for the FilterEveryFifteenthRow stream to show the final output after the project has processed the events
  • โœ”How to send event records into our Streaming Lite project
  • โœ”To wrap up our Streaming Lite projects
Robert Waywell R Robert Waywell January 15, 2025
Created by March 12, 2018
Contributors

Prerequisites

Steps

Intro

Open three more PuTTY/SSH sessions connected to our Raspberry Pi. You will need to run a separate command line utility in each session to see the flow of events through the project.

Using the streamingsubscribe command line utility, we will be subscribing to two streams in our project.

The first subscribe will be for theisFreezerTemperatureReading stream. This will be used to show the individual events entering the project.

The second subscribe will be for the FilterEveryFifteenthRow stream of our project. This will be used to show the final output after the project has process the events through all three elements.

Step 1 isFreezerTemperatureReading Stream
โ€”

In the first PuTTY/SSH session, run this command to subscribe to the isFreezerTemperatureReading stream:

Note: Don’t forget to replace <Raspberry Pi IP Address> with our Raspberry Pi’s IP Address

Shell

$STREAMING_HOME/bin/streamingsubscribe -s isFreezerTemperatureReading -p <Raspberry Pi IP Address>:9230/freezer_monitoring_lite

Is Freezer Temperature Reading
Is Freezer Temperature Reading

For the question below, select the correct answer, and click Validate.

Step 2 FilterEveryFifteenthRow Stream
+
Step 3 Send Event Record
+
Step 4 Check Results
+
Step 5 Summary
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. isFreezerTemperatureReading Stream 2. FilterEveryFifteenthRow Stream 3. Send Event Record 4. Check Results 5. Summary

Learn more →