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>
.
-
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. -
On Windows:
server.bat --run
-
On Linux/Mac OS:
./server.sh
-
In the Streaming Integrator Tooling, click Deploy and then click Deploy to Server.
The Deploy Siddhi Apps to Server dialog box opens as follows.
-
In the Add New Server section, enter information as follows:
Field Value Host Your host Port 9443
User Name admin
Password admin
Then click Add.
-
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.
-
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.