Run StreamBase Application in Studio

When you have created an application archive file as described in Create StreamBase Application Archive, you can run this application in Studio.

Running in Studio a StreamBase Application that has a single fragment dependency is not much different than running the fragment itself in Studio. The ability to run StreamBase Applications in Studio is of most use with an application that contains more than one fragment. You can debug one fragment independent of others in the same application, or debug several fragments at the same time, switching between them.

In advanced cases, you can run two or more instances of the same StreamBase Application in Studio to verify and debug HA and partitioning configurations.

Use the following steps to run the application archive file that you created on the Create StreamBase Application Archive page.

  1. In the Project Explorer view, navigate to the target folder of the StreamBase Application project.

  2. Select the * file. (If the target folder appears empty, right-click and select Refresh.)

  3. Right-click and select Run As>Run Configurations.

  4. In the Run Configurations dialog, select the StreamBase Application category on the left. (Do NOT select the more familiar EventFlow Fragment category.)

  5. Click the New button.

  6. This creates an empty StreamBase Application configuration:

  7. Assign a name for this configuration, then use the first Browse button to locate your * in the current Studio workspace.


    Be sure to select the zip file you started with in step 2, of type Do not select an file. Do not select an application zip file for a Docker project.

  8. Optional. You can use the Node tab to assign non-default node and cluster names for this launch, and to specify arguments for the node installation.

  9. Click Apply then Run.

  10. The application now runs in a node. You can send tuples to the EventFlow fragment running in the application as shown on the Using the Manual Input View page. You can use a feed simulation file to automate sending tuples as shown on the Run the Feed Simulation page.

It is possible to use the Clusters View to see information about the running application node, but the best view of a running application is in the Debug view.

To stop a StreamBase Application running in a node, right-click the node or engine name in the Debug view and select one of the Terminate options.

Shortcut: You can run the StreamBase Application directly using the following steps:

  1. In the Project Explorer view, navigate to the target folder of the StreamBase Application project.

  2. Right-click and select Run As>StreamBase Application.

  3. The application now runs in a node.