The pre-written Siddhi extensions supported by WSO2 Stream Processor are configured with default values for system parameters. If you need to override those values, you can refer to those extensions from the
<SP_HOME>/conf/<RUNTIME>/deployment.yaml file and add the system parameters with the required values as key-value pairs. To do this, follow the procedure below:
editorwhere Siddhi is run.
The extensions belong to the Siddhi component. Therefore, to edit the Siddhi component, add a main section to the file named
siddhi. Then add a subsection named
extensionsto indicate that the configurations related to Siddhi extensions as shown below.
For each separate extension you want to configure, add a sub-section named
extensionsubsection, add two key-value pairs as follows.
The name of the extension. e.g.,
The archetype of the extension. e.g.,
The archetypes of extensions supported are
Add a subsection named properties to overide the system properties. Then add the system properties with the required values as ke value pairs. as shown below.
Following are examples for overriding default values for system properties.
Example 1: Defining host and port for TCP
Example 2: Overwriting the default RDBMS configuration