Skip to content

Deploying Siddhi Applications

After creating and testing a Siddhi application, you need to deploy it in the Streaming Integrator server. You can also deploy it in Docker and Kubernetes.

To deploy your Siddhi application in the Streaming Integrator server, follow the procedure below:

Info

To deploy the Siddhi application, you need to run both the Streaming Integrator server and Streaming Integrator Tooling. The home directories of the Streaming Integrator server is referred to as <SI_HOME> and the home directory of Streaming Integrator Tooling is referred to as <SI_TOOLING_HOME>.

  1. Start the Streaming Integrator server by navigating to the <SI_HOME>/bin directory from the CLI, and issuing the appropriate command out of the following, based on your operating system.

  2. On Windows: server.bat --run

  3. On Linux/Mac OS:  ./server.sh

  4. In the Streaming Integrator Tooling, click Deploy and then click Deploy to Server.

    Deploy to Server Menu Option

    The Deploy Siddhi Apps to Server dialog box opens as follows.

    Deploy Siddhi Apps to Server

  5. In the Add New Server section, enter information as follows:

    Field Value
    Host Your host
    Port 9443
    User Name admin
    Password admin

    Add Server

    Then click Add.

  6. Select the check boxes for the Siddhi applications that you want to deploy as shown below. Then select the check boxes for the servers in which you want to deploy them.

    Deploy Siddhi Apps to Server

  7. Click Deploy.

    As a result, the Siddhi application(s) you selected is saved in the <SI_HOME>/deployment/siddhi-files directory, and the following is message displayed in the dialog box.

    Siddhi App successfully deployed