Step 1 – Learn about Streams
If you are new to Streams, please take some time to learn about the Streams technology. If you already have experience with Streams, please move to the next step.
Step 2 – Learn about the Streaming Analytics Service
Please read this quick introduction to the Bluemix Streaming Analytics Service
Step 3 – Run a Sample
There are a number of sample applications you can use to learn about the Streaming Analytics service. Please run one or more of the samples below that most closely match your intended use of Streaming Analytics service in Bluemix.
Deploy the stock trades starter application
This is a simple application that is ready to be deployed to the Streaming Analytics service. You do not have to write any code or install any software.
To try it, download the application file from GitHub, and then watch this video to see how to:
- Create an instance of the Streaming Analytics Service (00:22)
- Run the starter application in the service (00:56)
- See the actual data being processed by an application (02:13)
- Look at the applications logs and any data printed to stdout/stderr (03:17)
Streams Application Samples
Run Streams application samples to simply explore how to run Streams apps in the Bluemix cloud. Use the project link below to access a number of sample applications written in SPL that are ready to submit to your Streaming Analytics instance in Bluemix. Consult the PDF file in the project for instructions about how to run and explore the samples.
End-to-End Bluemix Starter Applications
Run an end-to-end Bluemix starter application if you want to explore how to use Streaming Analytics in the context of a Bluemix application that uses a Bluemix languages runtime and one or more Bluemix services.
The EventDetection starter application uses the SDK for Node.js runtime in Bluemix. EventDetection uses the Streaming Analytics service to detect simple and complex events in a Stream of real-time weather data.
The NYCTraffic starter application uses the Liberty for Java runtime in Bluemix. NYCTraffic uses the Streaming Analytics service to analyze a real-time feed of road speeds.
Streaming Analytics Demos
Full-featured demo applications that use Streaming Analytics are linked below:
Step 4 – Learn More about Developing Streams Applications for the Cloud
See the Bluemix Streaming Analytics Development Guide for a comprehensive description of how to develop and deploy applications to the Streaming Analytics service. The development guide features a sample Streams application that analyzes Twitter data and step-by-step instructions for completing tasks that are part of the application development life cycle.
If you have an existing Streams application that you would like to deploy to the cloud, see Getting your SPL application ready for the cloud.
Step 5 – Learn about Integrating with other Bluemix Services
A variety of tutorials are available to help you use the Streaming Analytics service with other Bluemix services. All of the integration tutorials include code samples.
Watson IoT / Internet of Things Platform
File-based Data Sources
Step 6 – Taking Care of your Streams Application in the Cloud
If you have a Streams application running in the Bluemix Streaming Analytics service, its most likely one that runs continuously – 24 hours a day and 7 days a week. But how can you make sure that your application is running normally? See Monitoring Your Streams App in Bluemix using the Streams REST API to learn how you can programmatically assess whether your app is operating normally and extract valuable metrics about its execution.