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 the run the application archive file you created on the Create StreamBase Application Archive page.

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

  • Select the *ep-application.zip file. (If the target folder appears empty, right-click and select Refresh.)

  • Right-click and select Run AsRun Configurations.

  • In the Run Configurations dialog, select the StreamBase Application category on the left, and click the New button.

  • This creates an empty configuration:

  • Assign a name for this configuration, then use the first Browse button to locate your *ep-application.zip in the current Studio workspace.

  • Optional. You can use the Node tab to assign non-default node and cluster names for this launch.

  • Click Apply then Run.

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

You can use the Clusters View to see information about the running application node, but the best view of an running application is in the Debug view.

To terminate 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.