Configuring System Parameters for Siddhi Extensions¶
The pre-written Siddhi extensions supported by the Streaming Integrator are configured with default values for system 
parameters. If you need to override those values, you can refer to those extensions from the 
<SI_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:
- 
Open the <SI_HOME>/conf/server/deployment.yamlfile.
- 
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 namedextensionsto indicate that the configurations related to Siddhi extensions as shown below.
siddhi:
  extensions:- 
For each separate extension you want to configure, add a sub-section named extensionunder theextensionssubsection.siddhi: extensions: - extension:
- 
Under each extensionsubsection, add two key-value pairs as follows.Key Value nameThe name of the extension. e.g., tcpnamespaceThe archetype of the extension. e.g., sourceInfo The archetypes of extensions supported are source,sink,execution,io,map,script, andstore.
- 
Add a subsection named properties to override the system properties. Then add the system properties with the required values as key value pairs, as shown below. siddhi: extensions: - extension: name: [extension-name] namespace: [extension-namespace] properties: [key]: [value]
Following are examples for overriding default values for system properties.
Example 1: Defining host and port for TCP
siddhi: 
  extensions: 
    - extension: 
        name: tcp
        namespace: source
        properties: 
          host: 0.0.0.0
          port: 5511Example 2: Overwriting the default RDBMS configuration
siddhi:
  extensions:
    - extension:
        name: rdbms
        namespace: store
        properties:
          mysql.batchEnable: true
          mysql.batchSize: 1000
          mysql.indexCreateQuery: "CREATE INDEX _INDEX ON  ()"
          mysql.recordDeleteQuery: "DELETE FROM  "
          mysql.recordExistsQuery: "SELECT 1 FROM   LIMIT 1"