Importing a streams flow
Importing is a simple way to bring a streams flow from a different project or Watson Studio instance into your project. You might use importing when your streams flow needs to run in different locations.
Credentials that are needed for some operators are not imported. As a result, you might not have access to some operators that are associated with services such as Kafka.
Prerequisites
-
The Streams service that the imported streams flow needs must be installed and running. To check which instances are up and running, select My instances from the IBM Cloud Pak for Data menu, and check the instances of type streams.
-
You must have access to the downloaded streams flow file.
Procedure
To import a streams flow, follow these steps:
-
From the Projects menu, click View All Projects, and then click the name of the project to add your streams flow to. Alternatively, to create a project for the streams flow, click New project.
-
In the Project page, click the Assets tab, and then click New streams flow.
-
In the New streams flow page, click the From file, or From URL tab, and then perform the following steps:
From file:
- Select the Streams service.
- Drag the downloaded streams flow file into the Drop area. The downloaded file is in STP format.
- If you want, type in a different name for the streams
flow than the imported name.
Tip: In the Description area, type in where the imported streams flow originated from.
From URL:
- Type in a name for the streams flow.
- Select the Streams service.
- Enter the URL site of your uploaded file. Ensure that the URL site contains an uploaded file in STP format and that the site is publicly accessible.
-
Click Create.
-
In the Metrics page, the newly imported streams flow is shown.
Click the Run icon to begin streaming.
The Notification icon in the upper-right corner of the Metrics page is displayed when problems exist with the imported streams flow. Click the icon, read the message, and make the corrections.