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 Cloud Object Storage and Event Streams.

 

Prerequisites

  • The services that the imported streams flow needs must be configured in your project. To see which services are associated with your project, or to create the services that you need for the new streams flow, click Project. Click the project name, click the Settings tab, and then check the Associated services section.

  • You must have access to the downloaded streams flow file.

  • You must have either the Editor role or the Admin role.

Watch this video to see how to provision the services necessary to use a streams flow.

Figure 1. Video iconProvision the prerequisite services to use a streams flow
This video will demonstrate how to provision the prerequisite IBM Cloud services.

To import a streams flow, follow these steps:

  1. 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.

  2. In the Project page, click the Assets tab, and then click add streaming pipelines.

  3. In the Create Streams Flow page, click the From File tab, and then do the following steps.

    • Select the Streaming Analytics 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.

  4. Click Create.

  5. In the Metrics page, the newly imported streams flow is shown. Click the Run icon (Run) to begin streaming.

    The Notification icon (Notifications 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.

Learn more